From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28523 invoked by alias); 3 Nov 2003 19:18:59 -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 28503 invoked from network); 3 Nov 2003 19:18:59 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 3 Nov 2003 19:18:59 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 6B1862B8F; Mon, 3 Nov 2003 14:18:54 -0500 (EST) Message-ID: <3FA6AA1E.1020702@redhat.com> Date: Mon, 03 Nov 2003 19:18:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis Cc: bcollins@debian.org, gdb@sources.redhat.com Subject: Re: Progress on SPARC References: <200311022104.hA2L4mit081014@elgar.kettenis.dyndns.org> <20031102213147.GG7904@phunnypharm.org> <200311031837.hA3IbbOX000392@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-11/txt/msg00012.txt.bz2 > Date: Sun, 2 Nov 2003 16:31:47 -0500 > From: Ben Collins > > Does the 64-bit gdb support debugging 32-bit binaries? I ask, because > Dave Miller's work getting GDB to support 64-bit sparc binaries did in > fact support debugging 32-bit binaries. > > Yes it does. It mostly works, and running the testsuite in a 32-bit > environment on a 64-bit GDB doesn't produce results that are much > worse than running the testsuite on a 32-bit GDB. The 64-bit GDB > doesn't read 32-bit core files right now, but I should be able to fix > that soon after I merge the SPARC-branch into mainline. Debugging > 32-bit threaded apps with a 64-bit GDB doesn't work too well either. > This will be much harder too fix since we have absolutely no support > for cross-platform threads debugging on Linux. FYI, a very recent glibc should address the 32x64 libthread-db problems. My amd64-gdb branch gave identical results to a straight i386 GDB. > Dave's GDB probably has the same problems. Yes, and more. Andrew