From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24005 invoked by alias); 11 Sep 2007 20:01:57 -0000 Received: (qmail 23813 invoked by uid 22791); 11 Sep 2007 20:01:54 -0000 X-Spam-Check-By: sourceware.org Received: from igw1.br.ibm.com (HELO igw1.br.ibm.com) (32.104.18.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Sep 2007 20:01:45 +0000 Received: from mailhub1.br.ibm.com (mailhub1 [9.18.232.109]) by igw1.br.ibm.com (Postfix) with ESMTP id 1843B14813D for ; Tue, 11 Sep 2007 16:43:37 -0300 (BRT) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub1.br.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l8BK1BKg1273986 for ; Tue, 11 Sep 2007 17:01:20 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l8BK12l7032695 for ; Tue, 11 Sep 2007 17:01:02 -0300 Received: from hactar.local ([9.18.238.251]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l8BK11Oe032689; Tue, 11 Sep 2007 17:01:02 -0300 Subject: Re: Does gdb-6.6 support -m64 apps? From: Thiago Jung Bauermann To: Robert Gries Cc: gdb@sourceware.org, Lou Falek In-Reply-To: <161448045.26371189537599926.JavaMail.root@postoffice> References: <161448045.26371189537599926.JavaMail.root@postoffice> Content-Type: text/plain Date: Tue, 11 Sep 2007 20:12:00 -0000 Message-Id: <1189540861.10254.65.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00108.txt.bz2 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