From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32638 invoked by alias); 21 Oct 2003 11:45:29 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 32574 invoked from network); 21 Oct 2003 11:45:27 -0000 Received: from unknown (HELO rasta.struction.de) (145.253.248.66) by sources.redhat.com with SMTP; 21 Oct 2003 11:45:27 -0000 Received: from amavis by rasta.struction.de with scanned-ok (Exim 3.35 #1 (Debian)) id 1ABuwQ-00007L-00; Tue, 21 Oct 2003 13:44:46 +0200 Received: from rasta.struction.de ([127.0.0.1]) by localhost (rasta [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16012-01; Tue, 21 Oct 2003 13:44:25 +0200 (CEST) Received: from [127.0.0.1] (helo=webmail.struction.de) by rasta.struction.de with smtp (Exim 3.35 #1 (Debian)) id 1ABuw4-0008Uz-00; Tue, 21 Oct 2003 13:44:24 +0200 Received: from 217.231.249.165 (SquirrelMail authenticated user gnuwwel) by webmail.struction.de with HTTP; Tue, 21 Oct 2003 13:44:24 +0200 (CEST) Message-ID: <62966.217.231.249.165.1066736664.squirrel@webmail.struction.de> In-Reply-To: <20031020161551.GL986@gnat.com> References: <3775.172.19.104.110.1066661538.squirrel@webmail.medialisten.net> <20031020161551.GL986@gnat.com> Date: Tue, 21 Oct 2003 11:45:00 -0000 Subject: Re: gdb under sparc64-sun-solaris2.9 From: "e.karge" To: "Joel Brobecker" Cc: "e.karge" ,gdb@sources.redhat.com Reply-To: e.karge@struction.de User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at struction.de X-SW-Source: 2003-10/txt/msg00231.txt.bz2 >> I build gdb-5.3 and gdb-6.0 with no special configure options. >> It works well with 32-bit executables, but if I try to run a 64-bit >> excuteable i get following messages: > > I think you need to build it with -m64. GDB needs to be 64bits to be > able to debug 64bits executables. > > -- > Joel i build it with "make CFLAGS=-m64 CXX=-m64", works fine. thanks a lot, Eric.