Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Robert Gries <gries@pasemi.com>
To: Thiago Jung Bauermann <bauerman@br.ibm.com>
Cc: gdb@sourceware.org, Lou Falek <falek@pasemi.com>,
		Robert Gries <gries@pasemi.com>,
	Olof Johansson <olof@pasemi.com>,
		Peter Bannon <bannon@pasemi.com>,
		Puneet Kumar <pkumar@postoffice.pasemi.com>
Subject: Re: Does gdb-6.6 support -m64 apps?
Date: Tue, 11 Sep 2007 20:31:00 -0000	[thread overview]
Message-ID: <1487295349.28571189541563660.JavaMail.root@postoffice> (raw)
In-Reply-To: <1189540861.10254.65.camel@localhost.localdomain>

The new release just works, no -m64 needed:
gries@orion-059:/proj/ext3/users/gries/math/gmpbench-0.1$ /proj/ext3/users/gries/math/gdb-6.6.50.20070911/gdb/gdb test_rsa
GNU gdb 6.6.50.20070911
Copyright (C) 2007 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 "powerpc64-unknown-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program: /proj/ext3/users/gries/math/gmpbench-0.1/test_rsa
warning: Breakpoint address adjusted from 0x100b2bf8 to 0x10064b6c.
size of n 66
00aa36abce88acfdff55523c7fc4523f90efa00df3774a259f2e62b4c5d99cb5adb300a0285e5301930e0c70fb6876939ce616ce624a11e0086d341ebcaca0a1f500
 
pq abefeafff53ff53fef0f77adfebcd9fff3a2df393efffffbe7ee6bf0ef5feeaf50
 
Program received signal SIGABRT, Aborted.
0x1004584c0000d032 in ?? ()
(gdb) where
#0  0x1004584c0000d032 in ?? ()
#1  0x10016e6800000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)


----- Original Message -----
From: "Thiago Jung Bauermann" <bauerman@br.ibm.com>
To: "Robert Gries" <gries@pasemi.com>
Cc: gdb@sourceware.org, "Lou Falek" <falek@pasemi.com>
Sent: Tuesday, September 11, 2007 1:01:01 PM (GMT-0800) America/Los_Angeles
Subject: 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



  reply	other threads:[~2007-09-11 20:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11 19:26 Robert Gries
2007-09-11 19:31 ` Daniel Jacobowitz
2007-09-11 19:35   ` Robert Gries
2007-09-11 20:01     ` Daniel Jacobowitz
2007-09-11 20:12 ` Thiago Jung Bauermann
2007-09-11 20:31   ` Robert Gries [this message]
2007-09-11 22:07     ` Robert Gries
2007-09-14 16:50   ` Robert Gries

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1487295349.28571189541563660.JavaMail.root@postoffice \
    --to=gries@pasemi.com \
    --cc=bannon@pasemi.com \
    --cc=bauerman@br.ibm.com \
    --cc=falek@pasemi.com \
    --cc=gdb@sourceware.org \
    --cc=olof@pasemi.com \
    --cc=pkumar@postoffice.pasemi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox