This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does gdb-6.6 support -m64 apps?


On Tue, 2007-09-11 at 12:06 -0700, Robert Gries wrote:
> gries@orion-059:/proj/ext3/users/gries/math/gmpbench-0.1$ /proj/ext3/users/gries/math/gdb-6.6/gdb/gdb rsa
> GNU gdb 6.6
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "powerpc64-unknown-linux-gnu"...
> Using host libthread_db library "/lib/libthread_db.so.1".
> (gdb) r 128
> Starting program: /proj/ext3/users/gries/math/gmpbench-0.1/rsa 128
> warning: Breakpoint address adjusted from 0x100ab998 to 0x10000180.
>  
> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x100001800002d032 in ?? ()

To debug 64 bit programs, your GDB should be compiled with -m64 as well.
Is this the case?
-- 
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]