Checked version, I am sure it supports x86_64, I also verified the version string. Hmm, weirdly enough, I am able to see source code correlate well to the objects. For example "list fget" retrieves the correct source from the correct file - so it looks the information in the object file is being correctly interpreted.
I know this raises more questions than answers ;-) Let me know what you think. Thanks, -Joel On Fri, Jan 15, 2010 at 7:17 AM, Dongdong Deng <[email protected]> wrote: > On Thu, Jan 14, 2010 at 9:58 AM, Joel Fernandes <[email protected]> wrote: >> 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? > > > I think there is two point you should check: > > > 1: whether gdb support x86_84 or not, > when you start up gdb, you can get the configure info of gdb: > > For example as mine > $ gdb > GNU gdb (GDB) 7.0.50.20090928-cvs > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > ****This GDB was configured as "i686-pc-linux-gnu".**** > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>. > (gdb) > > "This GDB was configured as i686-pc-linux-gnu" indicates the current > gdb support i686. > > 2: If your gdb support x86_84, Are you using the right vmlinux which > match the debugged kernel? > > > Thanks, > Dongdong > >> >> 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
