From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9509 invoked by alias); 15 Jan 2002 20:23:47 -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 9270 invoked from network); 15 Jan 2002 20:23:08 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 15 Jan 2002 20:23:08 -0000 Received: from cse.cygnus.com (cse.sfbay.redhat.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA12230; Tue, 15 Jan 2002 12:23:05 -0800 (PST) Received: (from kev@localhost) by cse.cygnus.com (8.11.6/8.11.6) id g0FKLVr02596; Tue, 15 Jan 2002 13:21:31 -0700 Date: Tue, 15 Jan 2002 12:23:00 -0000 From: Kevin Buettner Message-Id: <1020115202130.ZM2595@localhost.localdomain> In-Reply-To: ccroswhite@get2chip.com "GDB and 64 bit" (Jan 15, 11:11am) References: <3C447EC6.91105808@get2chip.com> X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: ccroswhite@get2chip.com, gdb@sources.redhat.com Subject: Re: GDB and 64 bit MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-01/txt/msg00167.txt.bz2 On Jan 15, 11:11am, ccroswhite@get2chip.com wrote: > I am trying to get gdb to understand 64 bit applications. I can not > compile gdb with a configuration option (that is configure > --host=sparcv9-sun-solaris2.8). So I have gone in and replaced gcc with > gcc -m64 and ld with ld -64 (Solaris ld). gdb will now open the > executable, however, it will not break and I have seen it print out > variables in both 64 bit and 32 bit. I am not exactly sure why it is > doing both 1:) printing out 64 and 32 bit code and 2:) why it will not > break. Are the applications that you're debugging 32-bit or 64-bit? Could you provide more detail (i.e, a cut and paste of a sample GDB session) showing problems 1 and 2 above? Thanks, Kevin