This is the mail archive of the
mailing list for the GDB project.
wrong symbols with gdb
- From: "sfora dim" <sfora dot dim at gmail dot com>
- To: gdb at sourceware dot org
- Date: Mon, 17 Dec 2007 17:51:41 +0200
- Subject: wrong symbols with gdb
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 ?