From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10187 invoked by alias); 2 Sep 2004 16:23:06 -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 10161 invoked from network); 2 Sep 2004 16:23:05 -0000 Received: from unknown (HELO us.ibm.com) (32.97.110.142) by sourceware.org with SMTP; 2 Sep 2004 16:23:05 -0000 Received: by us.ibm.com (Postfix, from userid 1000) id 1006613710; Thu, 2 Sep 2004 09:20:54 -0700 (PDT) From: Paul Gilliam Reply-To: pgilliam@us.ibm.com To: gdb@sources.redhat.com Subject: Problem building GDB on Power64 Date: Thu, 02 Sep 2004 16:23:00 -0000 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200409020920.53975.pgilliam@us.ibm.com> X-SW-Source: 2004-09/txt/msg00019.txt.bz2 On a ppc64 system, GDB builds as a 32-bit application. This is OK if the 64-bit dev. env. is not available. But if it is, this is wrong: GDB should build as a 64-bit application so that both 64 and 32 bit apps can be debugged. If I understood the configure process, I would have tried submitting a patch. It should be easy: just include -m64 in the CFLAGS. And make sure to link with the 64-bit libraries (which had better be there). -=# Paul Gilliam #=-