{
"configurations": [
{
"name": "Linux",
"compileCommands": "${workspaceFolder}/compile_commands.json",
"browse": {
"path": [
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
},
"includePath": [
"${workspaceFolder}",
"${workspaceFolder}/src/kernel",
"${workspaceFolder}/src/inc"
],
"defines": [],
"compilerPath": "/opt/wios/gcc-4.7.3-glibc-2.18-p3-2.6.35.9/arm-brcm-linux-gnueabi/bin/arm-brcm-linux-gnueabi-gcc",
"cStandard": "c11",
"cppStandard": "c++14",
"intelliSenseMode": "clang-x64"
}
],
"version": 4
}
这是我的compile_commands.json文件片段。我已经编写了脚本来生成该文件。
[
{
"command": "/opt/wios/gcc-4.7.3-glibc-2.18-p3-2.6.35.9/arm-brcm-linux-gnueabi/bin/arm-brcm-linux-gnueabi-gcc -c -I/home/bhsingh/WING-37278/rel59_maint/wing/src/kernel/panic_dump -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/include -I/home/bhsingh/WING-37278/rel59_maint/wing/src/inc -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/include/generated -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/mach-northstar/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/plat-iproc/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/mach-brcm-hnd/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/plat-brcm/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/plat-brcm/include/shared -D__KERNEL__ -DMODULE -DSIZEOF_CPU_REGISTER=4 -DNUM_DEV_CF=0 -DNUM_DEV_USB=1 -DTARGET_birch -DARCH_arm -DSUBARCH_northstar -DWIOS_FEATURE_osnmp -DWIOS_FEATURE_dhcpsvr -DWIOS_FEATURE_sshd -DWIOS_FEATURE_telnetd -DWIOS_FEATURE_ftpd -DWIOS_FEATURE_pciutils -DWIOS_FEATURE_dataplane -DWIOS_FEATURE_kernel_dataplane -DWIOS_FEATURE_fw_dataplane -DWIOS_FEATURE_mint -DWIOS_FEATURE_l3fw_dataplane -DWIOS_FEATURE_fw_syn_cookies_dataplane -DWIOS_FEATURE_nat_dataplane -DWIOS_FEATURE_l2_nat_dataplane -DWIOS_FEATURE_crm -DWIOS_FEATURE_remove_appgw_rule -DWIOS_FEATURE_igmp_snoop_dataplane -DWIOS_FEATURE_l3e_migration -DWIOS_FEATURE_role -DWIOS_FEATURE_APN -DWIOS_FEATURE_facetime -DWIOS_FEATURE_unittest_dataplane -DWIOS_FEATURE_radiusd -DWIOS_FEATURE_radius3 -DWIOS_FEATURE_ldaps -DWIOS_FEATURE_static_link_aggregation -DWIOS_FEATURE_gui -DWIOS_FEATURE_mapi -DWIOS_FEATURE_hotspot -DWIOS_FEATURE_tacacs -DWIOS_FEATURE_symbol_krb5 -DWIOS_FEATURE_hotspot_2_0_r2 -DWIOS_FEATURE_cb_trustpoint -DWIOS_FEATURE_trouble_client -DWIOS_FEATURE_trouble_client_in_cfgd -DWIOS_FEATURE_dns_rtt -DWIOS_FEATURE_crm_enhancements -DWIOS_FEATURE_crm_using_flows -DWIOS_FEATURE_std_fdb_mibs -DWIOS_FEATURE_loop_debug -DWIOS_FEATURE_fabric_attach -DWIOS_FEATURE_simplified_ui -DWIOS_FEATURE_dual_ui -DWIOS_FEATURE_mapi -DWIOS_FEATURE_busybox_dhcp_client -DWIOS_FEATURE_cmcc -DWIOS_FEATURE_rate_limit -DWIOS_FEATURE_cmcc_hotspot -DWIOS_FEATURE_mu_balance -DWIOS_FEATURE_cmcc_traps -DWIOS_FEATURE_smart -DWIOS_FEATURE_vrrp -DWIOS_FEATURE_dynamic_routing -DWIOS_FEATURE_fib -DWIOS_FEATURE_ext_vlan_load_balancing -DWIOS_FEATURE_ssm -DWIOS_FEATURE_l2tpv3 -DWIOS_FEATURE_pptp_alg -DWIOS_FEATURE_l2tpv3_rate_limit -DWIOS_FEATURE_ext_vlan_ovr_mint_level2_rate_limit -DWIOS_FEATURE_certmgr_dpd2 -DWIOS_FEATURE_ldap_rbfw -DWIOS_FEATURE_multibyte_ssid -DWIOS_FEATURE_mschapv2_ldap -DWIOS_FEATURE_cmp -DWIOS_FEATURE_bonjour_gateway -DWIOS_FEATURE_xcbc_crypto -DWIOS_FEATURE_ipsec_dataplane -DWIOS_FEATURE_vpn2 -DWIOS_FEATURE_swcrypto -DWIOS_FEATURE_ipv6 -DWIOS_FEATURE_fib6 -DWIOS_FEATURE_snmp_acl -DWIOS_FEATURE_dhcp_fingerprinting -DWIOS_FEATURE_dns_in_acl -DWIOS_FEATURE_dhcp_alps -DWIOS_FEATURE_mart_client -DWIOS_FEATURE_alarm -DWIOS_FEATURE_gm_client -DWIOS_FEATURE_zguest_ui -DWIOS_FEATURE_cvg_hole_incident_stats -DWIOS_FEATURE_jffs2 -DWIOS_FEATURE_virtual_mgmt_port -DWIOS_FEATURE_dataplane_jobs -DWIOS_FEATURE_select_shutdown -DWIOS_FEATURE_corecrypto_dataplane -DWIOS_FEATURE_dataplane_ethernet -DWIOS_FEATURE_radio -DWIOS_FEATURE_11ac_bcm_ko -DWIOS_FEATURE_gt_2_streams -DWIOS_FEATURE_mc2uc -DWIOS_FEATURE_dot1x_pae -DWIOS_FEATURE_dot1x_auth -DWIOS_FEATURE_controller_ap -DWIOS_FEATURE_http_alg -DWIOS_FEATURE_http_analytics -DWIOS_FEATURE_dns_svr_fwd -DWIOS_FEATURE_ppp -DWIOS_FEATURE_pppoe -DWIOS_FEATURE_mcx -DWIOS_FEATURE_mcx_fastpath -DWIOS_FEATURE_orla -DWIOS_FEATURE_pbr -DWIOS_FEATURE_mstp -DWIOS_FEATURE_power_mgmt -DWIOS_FEATURE_bcm_cb -DWIOS_FEATURE_ram_ge_256mb -DWIOS_FEATURE_wips_sensor -DWIOS_FEATURE_wips_radiotap -DWIOS_FEATURE_wips_ofl_sensor -DWIOS_FEATURE_mpact_client -DWIOS_FEATURE_rssi_feed -DWIOS_FEATURE_lsense_client -DWIOS_FEATURE_location_ap -DWIOS_FEATURE_adv_spectrum_analyser -DWIOS_FEATURE_11ac_sensor -DWIOS_FEATURE_content_filtering -DWIOS_FEATURE_wing_express -DWIOS_FEATURE_tx_shaping_dataplane -DWIOS_FEATURE_application_assurance -DWIOS_FEATURE_dpi_ipoque_pace2 -DWIOS_FEATURE_dpi_metadata -DWIOS_FEATURE_dpi_metadata_tcp_rtt -DWIOS_FEATURE_dpi_timed_rules -DWIOS_FEATURE_time_based_access -DWIOS_FEATURE_icsa_log_icmp -DWIOS_FEATURE_l2tpv3_fast_failover -DWIOS_FEATURE_cloud_ap -DWIOS_FEATURE_igmp_process_leave_msgs -DWIOS_FEATURE_otls -DWIOS_FEATURE_phpcgi -DWIOS_FEATURE_auto_vc -DWIOS_FEATURE_mart_aptest -DWIOS_FEATURE_mart_asa -DWIOS_FEATURE_lacp -DWIOS_FEATURE_mtd -DAPP_DPI_ENGINE_ipoque=2 -DWIOS_BUILD_USER_IS_bhsingh -DNDEBUG -D\"KBUILD_STR(s)=#s\" -D\"KBUILD_BASENAME=KBUILD_STR(wios)\" -DVER_STRING=\\\"5.9.3.0-fb62b83X\\\" -DPRODUCT_STRING=\\\"AP7532\\\" -DTARGET=\\\"birch\\\" -msoft-float -mcpu=cortex-a9 -pipe -std=gnu89 -g -nostdinc -isystem /opt/wios/gcc-4.7.3-glibc-2.18-p3-2.6.35.9/arm-brcm-linux-gnueabi/lib/gcc/arm-brcm-linux-gnueabi/4.7.3/include -O2 -fno-strict-aliasing -fno-common -ffreestanding -Wall -Wstrict-prototypes -Wno-trigraphs -Wmissing-format-attribute -Wdisabled-optimization -Wwrite-strings -Wimplicit-int -Wmissing-braces -Wmissing-noreturn -Wundef -Wmissing-field-initializers -Wmissing-declarations -Wmissing-prototypes -Wno-unused-parameter -Winline -mlittle-endian -marm -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -Uarm -mfloat-abi=soft -Wframe-larger-than=1024 -Wno-pointer-sign -fconserve-stack -D__LINUX_ARM_ARCH__=7 -imacros generated/autoconf.h panic_dump-northstar.c -o /home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/panic_dump/panic_dump-northstar.o",
"directory": "/home/bhsingh/WING-37278/rel59_maint/wing/src/kernel/panic_dump",
"file": "panic_dump-northstar.c"
},
{
"command": "/opt/wios/gcc-4.7.3-glibc-2.18-p3-2.6.35.9/arm-brcm-linux-gnueabi/bin/arm-brcm-linux-gnueabi-gcc -c -I/home/bhsingh/WING-37278/rel59_maint/wing/src/kernel/panic_dump -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/include -I/home/bhsingh/WING-37278/rel59_maint/wing/src/inc -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/include/generated -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/mach-northstar/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/plat-iproc/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/mach-brcm-hnd/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/plat-brcm/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/plat-brcm/include/shared -D__KERNEL__ -DMODULE -DSIZEOF_CPU_REGISTER=4 -DNUM_DEV_CF=0 -DNUM_DEV_USB=1 -DTARGET_birch -DARCH_arm -DSUBARCH_northstar -DWIOS_FEATURE_osnmp -DWIOS_FEATURE_dhcpsvr -DWIOS_FEATURE_sshd -DWIOS_FEATURE_telnetd -DWIOS_FEATURE_ftpd -DWIOS_FEATURE_pciutils -DWIOS_FEATURE_dataplane -DWIOS_FEATURE_kernel_dataplane -DWIOS_FEATURE_fw_dataplane -DWIOS_FEATURE_mint -DWIOS_FEATURE_l3fw_dataplane -DWIOS_FEATURE_fw_syn_cookies_dataplane -DWIOS_FEATURE_nat_dataplane -DWIOS_FEATURE_l2_nat_dataplane -DWIOS_FEATURE_crm -DWIOS_FEATURE_remove_appgw_rule -DWIOS_FEATURE_igmp_snoop_dataplane -DWIOS_FEATURE_l3e_migration -DWIOS_FEATURE_role -DWIOS_FEATURE_APN -DWIOS_FEATURE_facetime -DWIOS_FEATURE_unittest_dataplane -DWIOS_FEATURE_radiusd -DWIOS_FEATURE_radius3 -DWIOS_FEATURE_ldaps -DWIOS_FEATURE_static_link_aggregation -DWIOS_FEATURE_gui -DWIOS_FEATURE_mapi -DWIOS_FEATURE_hotspot -DWIOS_FEATURE_tacacs -DWIOS_FEATURE_symbol_krb5 -DWIOS_FEATURE_hotspot_2_0_r2 -DWIOS_FEATURE_cb_trustpoint -DWIOS_FEATURE_trouble_client -DWIOS_FEATURE_trouble_client_in_cfgd -DWIOS_FEATURE_dns_rtt -DWIOS_FEATURE_crm_enhancements -DWIOS_FEATURE_crm_using_flows -DWIOS_FEATURE_std_fdb_mibs -DWIOS_FEATURE_loop_debug -DWIOS_FEATURE_fabric_attach -DWIOS_FEATURE_simplified_ui -DWIOS_FEATURE_dual_ui -DWIOS_FEATURE_mapi -DWIOS_FEATURE_busybox_dhcp_client -DWIOS_FEATURE_cmcc -DWIOS_FEATURE_rate_limit -DWIOS_FEATURE_cmcc_hotspot -DWIOS_FEATURE_mu_balance -DWIOS_FEATURE_cmcc_traps -DWIOS_FEATURE_smart -DWIOS_FEATURE_vrrp -DWIOS_FEATURE_dynamic_routing -DWIOS_FEATURE_fib -DWIOS_FEATURE_ext_vlan_load_balancing -DWIOS_FEATURE_ssm -DWIOS_FEATURE_l2tpv3 -DWIOS_FEATURE_pptp_alg -DWIOS_FEATURE_l2tpv3_rate_limit -DWIOS_FEATURE_ext_vlan_ovr_mint_level2_rate_limit -DWIOS_FEATURE_certmgr_dpd2 -DWIOS_FEATURE_ldap_rbfw -DWIOS_FEATURE_multibyte_ssid -DWIOS_FEATURE_mschapv2_ldap -DWIOS_FEATURE_cmp -DWIOS_FEATURE_bonjour_gateway -DWIOS_FEATURE_xcbc_crypto -DWIOS_FEATURE_ipsec_dataplane -DWIOS_FEATURE_vpn2 -DWIOS_FEATURE_swcrypto -DWIOS_FEATURE_ipv6 -DWIOS_FEATURE_fib6 -DWIOS_FEATURE_snmp_acl -DWIOS_FEATURE_dhcp_fingerprinting -DWIOS_FEATURE_dns_in_acl -DWIOS_FEATURE_dhcp_alps -DWIOS_FEATURE_mart_client -DWIOS_FEATURE_alarm -DWIOS_FEATURE_gm_client -DWIOS_FEATURE_zguest_ui -DWIOS_FEATURE_cvg_hole_incident_stats -DWIOS_FEATURE_jffs2 -DWIOS_FEATURE_virtual_mgmt_port -DWIOS_FEATURE_dataplane_jobs -DWIOS_FEATURE_select_shutdown -DWIOS_FEATURE_corecrypto_dataplane -DWIOS_FEATURE_dataplane_ethernet -DWIOS_FEATURE_radio -DWIOS_FEATURE_11ac_bcm_ko -DWIOS_FEATURE_gt_2_streams -DWIOS_FEATURE_mc2uc -DWIOS_FEATURE_dot1x_pae -DWIOS_FEATURE_dot1x_auth -DWIOS_FEATURE_controller_ap -DWIOS_FEATURE_http_alg -DWIOS_FEATURE_http_analytics -DWIOS_FEATURE_dns_svr_fwd -DWIOS_FEATURE_ppp -DWIOS_FEATURE_pppoe -DWIOS_FEATURE_mcx -DWIOS_FEATURE_mcx_fastpath -DWIOS_FEATURE_orla -DWIOS_FEATURE_pbr -DWIOS_FEATURE_mstp -DWIOS_FEATURE_power_mgmt -DWIOS_FEATURE_bcm_cb -DWIOS_FEATURE_ram_ge_256mb -DWIOS_FEATURE_wips_sensor -DWIOS_FEATURE_wips_radiotap -DWIOS_FEATURE_wips_ofl_sensor -DWIOS_FEATURE_mpact_client -DWIOS_FEATURE_rssi_feed -DWIOS_FEATURE_lsense_client -DWIOS_FEATURE_location_ap -DWIOS_FEATURE_adv_spectrum_analyser -DWIOS_FEATURE_11ac_sensor -DWIOS_FEATURE_content_filtering -DWIOS_FEATURE_wing_express -DWIOS_FEATURE_tx_shaping_dataplane -DWIOS_FEATURE_application_assurance -DWIOS_FEATURE_dpi_ipoque_pace2 -DWIOS_FEATURE_dpi_metadata -DWIOS_FEATURE_dpi_metadata_tcp_rtt -DWIOS_FEATURE_dpi_timed_rules -DWIOS_FEATURE_time_based_access -DWIOS_FEATURE_icsa_log_icmp -DWIOS_FEATURE_l2tpv3_fast_failover -DWIOS_FEATURE_cloud_ap -DWIOS_FEATURE_igmp_process_leave_msgs -DWIOS_FEATURE_otls -DWIOS_FEATURE_phpcgi -DWIOS_FEATURE_auto_vc -DWIOS_FEATURE_mart_aptest -DWIOS_FEATURE_mart_asa -DWIOS_FEATURE_lacp -DWIOS_FEATURE_mtd -DAPP_DPI_ENGINE_ipoque=2 -DWIOS_BUILD_USER_IS_bhsingh -DNDEBUG -D\"KBUILD_STR(s)=#s\" -D\"KBUILD_BASENAME=KBUILD_STR(wios)\" -DVER_STRING=\\\"5.9.3.0-fb62b83X\\\" -DPRODUCT_STRING=\\\"AP7532\\\" -DTARGET=\\\"birch\\\" -msoft-float -mcpu=cortex-a9 -pipe -std=gnu89 -g -nostdinc -isystem /opt/wios/gcc-4.7.3-glibc-2.18-p3-2.6.35.9/arm-brcm-linux-gnueabi/lib/gcc/arm-brcm-linux-gnueabi/4.7.3/include -O2 -fno-strict-aliasing -fno-common -ffreestanding -Wall -Wstrict-prototypes -Wno-trigraphs -Wmissing-format-attribute -Wdisabled-optimization -Wwrite-strings -Wimplicit-int -Wmissing-braces -Wmissing-noreturn -Wundef -Wmissing-field-initializers -Wmissing-declarations -Wmissing-prototypes -Wno-unused-parameter -Winline -mlittle-endian -marm -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -Uarm -mfloat-abi=soft -Wframe-larger-than=1024 -Wno-pointer-sign -fconserve-stack -D__LINUX_ARM_ARCH__=7 -imacros generated/autoconf.h panic_dump_base.c -o /home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/panic_dump/panic_dump_base.o",
"directory": "/home/bhsingh/WING-37278/rel59_maint/wing/src/kernel/panic_dump",
"file": "panic_dump_base.c"
},
{
"command": "/opt/wios/gcc-4.7.3-glibc-2.18-p3-2.6.35.9/arm-brcm-linux-gnueabi/bin/arm-brcm-linux-gnueabi-gcc -c -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/include -I/home/bhsingh/WING-37278/rel59_maint/wing/src/inc -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/include/generated -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/mach-northstar/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/plat-iproc/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/mach-brcm-hnd/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/plat-brcm/include -I/home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/2.6.35.9-ws-symbol/linux-2.6.35.9/arch/arm/plat-brcm/include/shared -I/home/bhsingh/WING-37278/rel59_maint/wing/src/kernel/ipoque_dpi/ipoque_PACE2_armv7_32bit_kernel_version/include/ipoque/ -I/home/bhsingh/WING-37278/rel59_maint/wing/src/dataplane/inc -I/home/bhsingh/WING-37278/rel59_maint/wing/src/dataplane/inc/stdinc -D__KERNEL__ -DMODULE -DSIZEOF_CPU_REGISTER=4 -DNUM_DEV_CF=0 -DNUM_DEV_USB=1 -DTARGET_birch -DARCH_arm -DSUBARCH_northstar -DWIOS_FEATURE_osnmp -DWIOS_FEATURE_dhcpsvr -DWIOS_FEATURE_sshd -DWIOS_FEATURE_telnetd -DWIOS_FEATURE_ftpd -DWIOS_FEATURE_pciutils -DWIOS_FEATURE_dataplane -DWIOS_FEATURE_kernel_dataplane -DWIOS_FEATURE_fw_dataplane -DWIOS_FEATURE_mint -DWIOS_FEATURE_l3fw_dataplane -DWIOS_FEATURE_fw_syn_cookies_dataplane -DWIOS_FEATURE_nat_dataplane -DWIOS_FEATURE_l2_nat_dataplane -DWIOS_FEATURE_crm -DWIOS_FEATURE_remove_appgw_rule -DWIOS_FEATURE_igmp_snoop_dataplane -DWIOS_FEATURE_l3e_migration -DWIOS_FEATURE_role -DWIOS_FEATURE_APN -DWIOS_FEATURE_facetime -DWIOS_FEATURE_unittest_dataplane -DWIOS_FEATURE_radiusd -DWIOS_FEATURE_radius3 -DWIOS_FEATURE_ldaps -DWIOS_FEATURE_static_link_aggregation -DWIOS_FEATURE_gui -DWIOS_FEATURE_mapi -DWIOS_FEATURE_hotspot -DWIOS_FEATURE_tacacs -DWIOS_FEATURE_symbol_krb5 -DWIOS_FEATURE_hotspot_2_0_r2 -DWIOS_FEATURE_cb_trustpoint -DWIOS_FEATURE_trouble_client -DWIOS_FEATURE_trouble_client_in_cfgd -DWIOS_FEATURE_dns_rtt -DWIOS_FEATURE_crm_enhancements -DWIOS_FEATURE_crm_using_flows -DWIOS_FEATURE_std_fdb_mibs -DWIOS_FEATURE_loop_debug -DWIOS_FEATURE_fabric_attach -DWIOS_FEATURE_simplified_ui -DWIOS_FEATURE_dual_ui -DWIOS_FEATURE_mapi -DWIOS_FEATURE_busybox_dhcp_client -DWIOS_FEATURE_cmcc -DWIOS_FEATURE_rate_limit -DWIOS_FEATURE_cmcc_hotspot -DWIOS_FEATURE_mu_balance -DWIOS_FEATURE_cmcc_traps -DWIOS_FEATURE_smart -DWIOS_FEATURE_vrrp -DWIOS_FEATURE_dynamic_routing -DWIOS_FEATURE_fib -DWIOS_FEATURE_ext_vlan_load_balancing -DWIOS_FEATURE_ssm -DWIOS_FEATURE_l2tpv3 -DWIOS_FEATURE_pptp_alg -DWIOS_FEATURE_l2tpv3_rate_limit -DWIOS_FEATURE_ext_vlan_ovr_mint_level2_rate_limit -DWIOS_FEATURE_certmgr_dpd2 -DWIOS_FEATURE_ldap_rbfw -DWIOS_FEATURE_multibyte_ssid -DWIOS_FEATURE_mschapv2_ldap -DWIOS_FEATURE_cmp -DWIOS_FEATURE_bonjour_gateway -DWIOS_FEATURE_xcbc_crypto -DWIOS_FEATURE_ipsec_dataplane -DWIOS_FEATURE_vpn2 -DWIOS_FEATURE_swcrypto -DWIOS_FEATURE_ipv6 -DWIOS_FEATURE_fib6 -DWIOS_FEATURE_snmp_acl -DWIOS_FEATURE_dhcp_fingerprinting -DWIOS_FEATURE_dns_in_acl -DWIOS_FEATURE_dhcp_alps -DWIOS_FEATURE_mart_client -DWIOS_FEATURE_alarm -DWIOS_FEATURE_gm_client -DWIOS_FEATURE_zguest_ui -DWIOS_FEATURE_cvg_hole_incident_stats -DWIOS_FEATURE_jffs2 -DWIOS_FEATURE_virtual_mgmt_port -DWIOS_FEATURE_dataplane_jobs -DWIOS_FEATURE_select_shutdown -DWIOS_FEATURE_corecrypto_dataplane -DWIOS_FEATURE_dataplane_ethernet -DWIOS_FEATURE_radio -DWIOS_FEATURE_11ac_bcm_ko -DWIOS_FEATURE_gt_2_streams -DWIOS_FEATURE_mc2uc -DWIOS_FEATURE_dot1x_pae -DWIOS_FEATURE_dot1x_auth -DWIOS_FEATURE_controller_ap -DWIOS_FEATURE_http_alg -DWIOS_FEATURE_http_analytics -DWIOS_FEATURE_dns_svr_fwd -DWIOS_FEATURE_ppp -DWIOS_FEATURE_pppoe -DWIOS_FEATURE_mcx -DWIOS_FEATURE_mcx_fastpath -DWIOS_FEATURE_orla -DWIOS_FEATURE_pbr -DWIOS_FEATURE_mstp -DWIOS_FEATURE_power_mgmt -DWIOS_FEATURE_bcm_cb -DWIOS_FEATURE_ram_ge_256mb -DWIOS_FEATURE_wips_sensor -DWIOS_FEATURE_wips_radiotap -DWIOS_FEATURE_wips_ofl_sensor -DWIOS_FEATURE_mpact_client -DWIOS_FEATURE_rssi_feed -DWIOS_FEATURE_lsense_client -DWIOS_FEATURE_location_ap -DWIOS_FEATURE_adv_spectrum_analyser -DWIOS_FEATURE_11ac_sensor -DWIOS_FEATURE_content_filtering -DWIOS_FEATURE_wing_express -DWIOS_FEATURE_tx_shaping_dataplane -DWIOS_FEATURE_application_assurance -DWIOS_FEATURE_dpi_ipoque_pace2 -DWIOS_FEATURE_dpi_metadata -DWIOS_FEATURE_dpi_metadata_tcp_rtt -DWIOS_FEATURE_dpi_timed_rules -DWIOS_FEATURE_time_based_access -DWIOS_FEATURE_icsa_log_icmp -DWIOS_FEATURE_l2tpv3_fast_failover -DWIOS_FEATURE_cloud_ap -DWIOS_FEATURE_igmp_process_leave_msgs -DWIOS_FEATURE_otls -DWIOS_FEATURE_phpcgi -DWIOS_FEATURE_auto_vc -DWIOS_FEATURE_mart_aptest -DWIOS_FEATURE_mart_asa -DWIOS_FEATURE_lacp -DWIOS_FEATURE_mtd -DAPP_DPI_ENGINE_ipoque=2 -DWIOS_BUILD_USER_IS_bhsingh -DNDEBUG -D\"KBUILD_STR(s)=#s\" -D\"KBUILD_BASENAME=KBUILD_STR(wios)\" -msoft-float -mcpu=cortex-a9 -pipe -std=gnu89 -g -nostdinc -isystem /opt/wios/gcc-4.7.3-glibc-2.18-p3-2.6.35.9/arm-brcm-linux-gnueabi/lib/gcc/arm-brcm-linux-gnueabi/4.7.3/include -O2 -fno-strict-aliasing -fno-common -ffreestanding -Wall -Wstrict-prototypes -Wno-trigraphs -Wmissing-format-attribute -Wdisabled-optimization -Wwrite-strings -Wimplicit-int -Wmissing-braces -Wmissing-noreturn -Wundef -Wmissing-field-initializers -Wmissing-declarations -Wmissing-prototypes -Wno-unused-parameter -Winline -mlittle-endian -marm -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -Uarm -mfloat-abi=soft -Wframe-larger-than=1024 -Wno-pointer-sign -fconserve-stack -D__LINUX_ARM_ARCH__=7 -imacros generated/autoconf.h ipq_module_pace2_defs.c -o /home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/kernel/ipoque_dpi/ipq_module_pace2_defs.o",
"directory": "/home/bhsingh/WING-37278/rel59_maint/wing/src/kernel/ipoque_dpi",
"file": "ipq_module_pace2_defs.c"
},
{
"command": "/opt/wios/gcc-4.7.3-glibc-2.18-p3-2.6.35.9/arm-brcm-linux-gnueabi/bin/arm-brcm-linux-gnueabi-gcc -c -I/home/bhsingh/WING-37278/rel59_maint/wing/src/inc -I/home/bhsingh/WING-37278/rel59_maint/wing/out/birch/root/usr/include -DSIZEOF_CPU_REGISTER=4 -DNUM_DEV_CF=0 -DNUM_DEV_USB=1 -DTARGET_birch -DARCH_arm -DSUBARCH_northstar -DWIOS_FEATURE_osnmp -DWIOS_FEATURE_dhcpsvr -DWIOS_FEATURE_sshd -DWIOS_FEATURE_telnetd -DWIOS_FEATURE_ftpd -DWIOS_FEATURE_pciutils -DWIOS_FEATURE_dataplane -DWIOS_FEATURE_kernel_dataplane -DWIOS_FEATURE_fw_dataplane -DWIOS_FEATURE_mint -DWIOS_FEATURE_l3fw_dataplane -DWIOS_FEATURE_fw_syn_cookies_dataplane -DWIOS_FEATURE_nat_dataplane -DWIOS_FEATURE_l2_nat_dataplane -DWIOS_FEATURE_crm -DWIOS_FEATURE_remove_appgw_rule -DWIOS_FEATURE_igmp_snoop_dataplane -DWIOS_FEATURE_l3e_migration -DWIOS_FEATURE_role -DWIOS_FEATURE_APN -DWIOS_FEATURE_facetime -DWIOS_FEATURE_unittest_dataplane -DWIOS_FEATURE_radiusd -DWIOS_FEATURE_radius3 -DWIOS_FEATURE_ldaps -DWIOS_FEATURE_static_link_aggregation -DWIOS_FEATURE_gui -DWIOS_FEATURE_mapi -DWIOS_FEATURE_hotspot -DWIOS_FEATURE_tacacs -DWIOS_FEATURE_symbol_krb5 -DWIOS_FEATURE_hotspot_2_0_r2 -DWIOS_FEATURE_cb_trustpoint -DWIOS_FEATURE_trouble_client -DWIOS_FEATURE_trouble_client_in_cfgd -DWIOS_FEATURE_dns_rtt -DWIOS_FEATURE_crm_enhancements -DWIOS_FEATURE_crm_using_flows -DWIOS_FEATURE_std_fdb_mibs -DWIOS_FEATURE_loop_debug -DWIOS_FEATURE_fabric_attach -DWIOS_FEATURE_simplified_ui -DWIOS_FEATURE_dual_ui -DWIOS_FEATURE_mapi -DWIOS_FEATURE_busybox_dhcp_client -DWIOS_FEATURE_cmcc -DWIOS_FEATURE_rate_limit -DWIOS_FEATURE_cmcc_hotspot -DWIOS_FEATURE_mu_balance -DWIOS_FEATURE_cmcc_traps -DWIOS_FEATURE_smart -DWIOS_FEATURE_vrrp -DWIOS_FEATURE_dynamic_routing -DWIOS_FEATURE_fib -DWIOS_FEATURE_ext_vlan_load_balancing -DWIOS_FEATURE_ssm -DWIOS_FEATURE_l2tpv3 -DWIOS_FEATURE_pptp_alg -DWIOS_FEATURE_l2tpv3_rate_limit -DWIOS_FEATURE_ext_vlan_ovr_mint_level2_rate_limit -DWIOS_FEATURE_certmgr_dpd2 -DWIOS_FEATURE_ldap_rbfw -DWIOS_FEATURE_multibyte_ssid -DWIOS_FEATURE_mschapv2_ldap -DWIOS_FEATURE_cmp -DWIOS_FEATURE_bonjour_gateway -DWIOS_FEATURE_xcbc_crypto -DWIOS_FEATURE_ipsec_dataplane -DWIOS_FEATURE_vpn2 -DWIOS_FEATURE_swcrypto -DWIOS_FEATURE_ipv6 -DWIOS_FEATURE_fib6 -DWIOS_FEATURE_snmp_acl -DWIOS_FEATURE_dhcp_fingerprinting -DWIOS_FEATURE_dns_in_acl -DWIOS_FEATURE_dhcp_alps -DWIOS_FEATURE_mart_client -DWIOS_FEATURE_alarm -DWIOS_FEATURE_gm_client -DWIOS_FEATURE_zguest_ui -DWIOS_FEATURE_cvg_hole_incident_stats -DWIOS_FEATURE_jffs2 -DWIOS_FEATURE_virtual_mgmt_port -DWIOS_FEATURE_dataplane_jobs -DWIOS_FEATURE_select_shutdown -DWIOS_FEATURE_corecrypto_dataplane -DWIOS_FEATURE_dataplane_ethernet -DWIOS_FEATURE_radio -DWIOS_FEATURE_11ac_bcm_ko -DWIOS_FEATURE_gt_2_streams -DWIOS_FEATURE_mc2uc -DWIOS_FEATURE_dot1x_pae -DWIOS_FEATURE_dot1x_auth -DWIOS_FEATURE_controller_ap -DWIOS_FEATURE_http_alg -DWIOS_FEATURE_http_analytics -DWIOS_FEATURE_dns_svr_fwd -DWIOS_FEATURE_ppp -DWIOS_FEATURE_pppoe -DWIOS_FEATURE_mcx -DWIOS_FEATURE_mcx_fastpath -DWIOS_FEATURE_orla -DWIOS_FEATURE_pbr -DWIOS_FEATURE_mstp -DWIOS_FEATURE_power_mgmt -DWIOS_FEATURE_bcm_cb -DWIOS_FEATURE_ram_ge_256mb -DWIOS_FEATURE_wips_sensor -DWIOS_FEATURE_wips_radiotap -DWIOS_FEATURE_wips_ofl_sensor -DWIOS_FEATURE_mpact_client -DWIOS_FEATURE_rssi_feed -DWIOS_FEATURE_lsense_client -DWIOS_FEATURE_location_ap -DWIOS_FEATURE_adv_spectrum_analyser -DWIOS_FEATURE_11ac_sensor -DWIOS_FEATURE_content_filtering -DWIOS_FEATURE_wing_express -DWIOS_FEATURE_tx_shaping_dataplane -DWIOS_FEATURE_application_assurance -DWIOS_FEATURE_dpi_ipoque_pace2 -DWIOS_FEATURE_dpi_metadata -DWIOS_FEATURE_dpi_metadata_tcp_rtt -DWIOS_FEATURE_dpi_timed_rules -DWIOS_FEATURE_time_based_access -DWIOS_FEATURE_icsa_log_icmp -DWIOS_FEATURE_l2tpv3_fast_failover -DWIOS_FEATURE_cloud_ap -DWIOS_FEATURE_igmp_process_leave_msgs -DWIOS_FEATURE_otls -DWIOS_FEATURE_phpcgi -DWIOS_FEATURE_auto_vc -DWIOS_FEATURE_mart_aptest -DWIOS_FEATURE_mart_asa -DWIOS_FEATURE_lacp -DWIOS_FEATURE_mtd -DAPP_DPI_ENGINE_ipoque=2 -DWIOS_BUILD_USER_IS_bhsingh -D_GNU_SOURCE -D_FILE_OFFSET_BITS=32 -DNDEBUG -DCCB_TRACE_MODULE=MODULE_ID_RANDOM -DCCB_TRACE_MODULE_STR=\\\"MODULE_ID_RANDOM\\\" -Dg_trace_module_id=g_trace_module_id_RANDOM -msoft-float -mcpu=cortex-a9 -std=gnu99 -Wall -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-format-attribute -Wnested-externs -Winline -Wdisabled-optimization -Wmissing-prototypes -Wmissing-declarations -Wno-trigraphs -W -ggdb -g3 -Os -pipe --param max-inline-insns-single=45 -fPIC random.c -o /home/bhsingh/WING-37278/rel59_maint/wing/obj/birch/src/sys/random/random.o",
"directory": "/home/bhsingh/WING-37278/rel59_maint/wing/src/sys/random",
"file": "random.c"
},
]
如果我尝试搜索文件"panic_dump-northstar.c"
,则vscode表示找不到文件,而其路径"/home/bhsingh/WING-37278/rel59_maint/wing/src/kernel/panic_dump"
出现在compile_commands.json中。
在项目树中,内核目录已禁用。请参阅所附图片。
存在该文件的内核目录被禁用。
当我尝试搜索random.c文件时,vscode列出了项目树中存在的所有文件。它不是从"/home/bhsingh/WING-37278/rel59_maint/wing/src/sys/random"
文件的路径compile_commands.json
提取文件
有人可以帮忙为什么vscode无法读取compile_commands.json文件吗?还可以为什么在附件映像的项目树中禁用了某些目录。