This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

wrong symbols with gdb


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]