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. Thanks, Dongdong > (gdb) c > Continuing. > Warning: > Cannot insert breakpoint 1. > Error accessing memory address 0xffffffff803057d9: Unknown error > 18446744073709551615. > > Any idea why this is happening? > > Thanks, > -Joel > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Kgdb-bugreport mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport > ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Kgdb-bugreport mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
