Re: [Kgdb-bugreport] wrong symbols with kgdb
Status: Beta
Brought to you by:
jwessel
From: sfora d. <sfo...@gm...> - 2007-12-17 16:17:46
|
On 12/17/07, Derek Atkins <wa...@mi...> wrote: > Are you by chance running a Fedora kernel? If so the problem is > the kernel physical start vs. physical align. Uhm, the target is FC8 but a kernel I have just compiled (v2.6.23 branch of jason's kgdb git tree). Host is Ubuntu 7.04. I am compiling on the host, and transfering the binary to the target using NFS. > > -derek > > Quoting sfora dim <sfo...@gm...>: > > > Hello all, > > > > I am trying to debug a remote kernel using kgdb. > > 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 > > > > ------------------------------------------------------------------------- > > SF.Net email is sponsored by: > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services > > for just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > _______________________________________________ > > Kgdb-bugreport mailing list > > Kgd...@li... > > https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport > > > > > > -- > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory > Member, MIT Student Information Processing Board (SIPB) > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH > warlord@MIT.EDU PGP key available > > |