wrong symbols with gdb

sfora dim sfora.dim@gmail.com
Mon Dec 17 15:51:00 GMT 2007


Hello all,

I am trying to debug a remote kernel using gdb.
host is x86, target is i386 (2.6.23) (under vmware), connection completes fine.
Problem is - some of the symbols are plain wrong.

For example - "p load_elf_binary" yields 0x802a4990 while that
function naturally resides above 0xc0000000.

When I run gdb ./vmlinux inside the target itself, running the same "p"
command give me the correct result..

any Idea why this happens and how can I fix it ?

Can I supply gdb the updated System.map or something ?

thanks
sfora



More information about the Gdb mailing list