This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Does gdb-6.6 support -m64 apps?
- From: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- To: Robert Gries <gries at pasemi dot com>
- Cc: gdb at sourceware dot org, Lou Falek <falek at pasemi dot com>
- Date: Tue, 11 Sep 2007 17:01:01 -0300
- Subject: Re: Does gdb-6.6 support -m64 apps?
- References: <161448045.26371189537599926.JavaMail.root@postoffice>
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