История изменений
Исправление
IvanR,
(текущая версия)
:
(gdb) add-symbol-file 8821ce.ko 0xffffffffc0af1000
add symbol table from file "8821ce.ko" at
.text_addr = 0xffffffffc0af1000
(y or n) y
Reading symbols from 8821ce.ko...done.
(gdb) info line rtw_lps_state_chk
No line number information available for address
0xffffffffc0b69148 <rtw_lps_state_chk>
No line number information available for address 0x78198 <rtw_lps_state_chk>
(gdb) q
без "(gdb) add-symbol-file 8821ce.ko 0xffffffffc0af1000"
(gdb) info line rtw_lps_state_chk
No line number information available for address 0x78198 <rtw_lps_state_chk>
(gdb)
$ objdump --syms ./8821ce.ko | grep debug
0000000000000000 l d .debug_info 0000000000000000 .debug_info
0000000000000000 l d .debug_abbrev 0000000000000000 .debug_abbrev
0000000000000000 l d .debug_aranges 0000000000000000 .debug_aranges
0000000000000000 l d .debug_line 0000000000000000 .debug_line
0000000000000000 l d .debug_str 0000000000000000 .debug_str
0000000000000000 l df *ABS* 0000000000000000 rtw_debug.c
0000000000097f22 l F .text 000000000000013d _debug_dlfw_fail
0000000000000000 l df *ABS* 0000000000000000 phydm_debug.c
0000000000000000 l df *ABS* 0000000000000000 halrf_debug.c
00000000000bba93 g F .text 000000000000025a phydm_dig_debug
00000000000c607d g F .text 00000000000002f3 halrf_support_ability_debug
00000000000bbe62 g F .text 0000000000000183 phydm_h2C_debug
00000000000c5cf9 g F .text 000000000000009b halrf_iqk_debug
00000000000c4904 g F .text 00000000000002b7 phydm_csi_debug
00000000000bdda7 g F .text 000000000000036d phydm_adaptivity_debug
00000000000b34d2 g F .text 0000000000000b85 phydm_debug_trace
00000000000c4640 g F .text 00000000000002c4 phydm_nbi_debug
00000000000c772a g F .text 0000000000000010 halrf_init_debug_setting
00000000000bc058 g F .text 0000000000000301 phydm_ra_debug
00000000000b1999 g F .text 0000000000000037 phydm_init_debug_setting
000000000000cd1a g F .text 0000000000000042 proc_get_trx_info_debug
00000000000a01f6 g F .text 0000000000000459 mac_debug_88xx
00000000000c2f63 g F .text 00000000000002aa phydm_psd_debug
00000000000b4057 g F .text 00000000000003c7 phydm_fw_debug_trace
00000000000d2cbd g F .text 0000000000000365 _phy_iqk_debug_inner_lpbk_psd_8821c
00000000000c7026 g F .text 0000000000000406 halrf_debug_trace
Исходная версия
IvanR,
:
(gdb) add-symbol-file 8821ce.ko 0xffffffffc0af1000
add symbol table from file "8821ce.ko" at
.text_addr = 0xffffffffc0af1000
(y or n) y
Reading symbols from 8821ce.ko...done.
(gdb) nfo line rtw_lps_state_chk
Undefined command: "nfo". Try "help".
(gdb) infi line rtw_lps_state_chk
Undefined command: "infi". Try "help".
(gdb) info line rtw_lps_state_chk
No line number information available for address
0xffffffffc0b69148 <rtw_lps_state_chk>
No line number information available for address 0x78198 <rtw_lps_state_chk>
(gdb) q
без "(gdb) add-symbol-file 8821ce.ko 0xffffffffc0af1000"
(gdb) info line rtw_lps_state_chk
No line number information available for address 0x78198 <rtw_lps_state_chk>
(gdb)
$ objdump --syms ./8821ce.ko | grep debug
0000000000000000 l d .debug_info 0000000000000000 .debug_info
0000000000000000 l d .debug_abbrev 0000000000000000 .debug_abbrev
0000000000000000 l d .debug_aranges 0000000000000000 .debug_aranges
0000000000000000 l d .debug_line 0000000000000000 .debug_line
0000000000000000 l d .debug_str 0000000000000000 .debug_str
0000000000000000 l df *ABS* 0000000000000000 rtw_debug.c
0000000000097f22 l F .text 000000000000013d _debug_dlfw_fail
0000000000000000 l df *ABS* 0000000000000000 phydm_debug.c
0000000000000000 l df *ABS* 0000000000000000 halrf_debug.c
00000000000bba93 g F .text 000000000000025a phydm_dig_debug
00000000000c607d g F .text 00000000000002f3 halrf_support_ability_debug
00000000000bbe62 g F .text 0000000000000183 phydm_h2C_debug
00000000000c5cf9 g F .text 000000000000009b halrf_iqk_debug
00000000000c4904 g F .text 00000000000002b7 phydm_csi_debug
00000000000bdda7 g F .text 000000000000036d phydm_adaptivity_debug
00000000000b34d2 g F .text 0000000000000b85 phydm_debug_trace
00000000000c4640 g F .text 00000000000002c4 phydm_nbi_debug
00000000000c772a g F .text 0000000000000010 halrf_init_debug_setting
00000000000bc058 g F .text 0000000000000301 phydm_ra_debug
00000000000b1999 g F .text 0000000000000037 phydm_init_debug_setting
000000000000cd1a g F .text 0000000000000042 proc_get_trx_info_debug
00000000000a01f6 g F .text 0000000000000459 mac_debug_88xx
00000000000c2f63 g F .text 00000000000002aa phydm_psd_debug
00000000000b4057 g F .text 00000000000003c7 phydm_fw_debug_trace
00000000000d2cbd g F .text 0000000000000365 _phy_iqk_debug_inner_lpbk_psd_8821c
00000000000c7026 g F .text 0000000000000406 halrf_debug_trace