I cannot manage to load the kernel symbols in memory. objdump shows the various debug sections exists in my kernel:
Code: Select all
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00004011 00100000 00100000 00001000 2**12
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .rodata 00000392 00105000 00105000 00006000 2**12
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .eh_frame 00000e28 00105394 00105394 00006394 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .data 000002e0 00107000 00107000 00008000 2**12
CONTENTS, ALLOC, LOAD, DATA
4 .bss 00138fd4 00108000 00108000 000082e0 2**12
ALLOC
5 .bootstrap_stack, 00004000 00240fd4 00240fd4 000082e0 2**2
ALLOC, READONLY
6 .debug_line 00001270 00245000 00245000 00009000 2**12
CONTENTS, READONLY, DEBUGGING
7 .debug_str 00002c41 00247000 00247000 0000b000 2**12
CONTENTS, READONLY, DEBUGGING
8 .debug_info 00003c90 0024a000 0024a000 0000e000 2**12
CONTENTS, READONLY, DEBUGGING
9 .debug_abbrev 000013f0 0024e000 0024e000 00012000 2**12
CONTENTS, READONLY, DEBUGGING
10 .debug_aranges 000001b8 00250000 00250000 00014000 2**12
CONTENTS, READONLY, DEBUGGING
11 .debug_macro 000009dc 00000000 00000000 000141b8 2**0
CONTENTS, READONLY, DEBUGGING
12 .comment 00000011 00000000 00000000 00014b94 2**0
CONTENTS, READONLY
Did I forget anything? Am I supposed to configure GRUB Legacy to load debug symbols? The GRUB flags I use are 0x3.
Thanks