On Wed, Jan 13, 2010 at 7:17 AM, Dongdong Deng <[email protected]> wrote: > On Wed, Jan 13, 2010 at 4:50 AM, Joel Fernandes <[email protected]> wrote: >> I'm running linux kernel 2.6.30 with kgdb8250 on x86_64 >> When I set a breakpoint and continue, I get a 'error accessing memory >> address' error: >> >> Program received signal SIGTRAP, Trace/breakpoint trap. >> kgdb_breakpoint () at kernel/kgdb.c:1807 >> 1807 wmb(); /* Sync point after breakpoint */ >> (gdb) b fget >> Breakpoint 1 at 0xffffffff803057d9: file >> /volumes/sdb1/linux-2.6.30/arch/x86/include/asm/current.h, line 14. > > Hi Joel, > > It seems that your gdb didn't analysis right vmlinux symbols. > > Please pay attention to "arch/x86/include/asm/current.h, line 14." , > > In fact the "fget" function was defined at "fs/file_table.c, line 270". > > Did you gdb support x86_64? > You can try to rebuild gdb with enable support x86_64.
Hi Dongdong, Quite interesting that fget is indeed in another file. Thanks for your message, I just checked and my gdb has support for x86_64. Anything else I can check for? Thanks Joel ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
