From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4803 invoked by alias); 3 Nov 2003 18:38:14 -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 4781 invoked from network); 3 Nov 2003 18:38:12 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.115.144) by sources.redhat.com with SMTP; 3 Nov 2003 18:38:12 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id hA3IblXl000288; Mon, 3 Nov 2003 19:37:47 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id hA3IbcND000395; Mon, 3 Nov 2003 19:37:38 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6/Submit) id hA3IbbOX000392; Mon, 3 Nov 2003 19:37:37 +0100 (CET) Date: Mon, 03 Nov 2003 18:38:00 -0000 Message-Id: <200311031837.hA3IbbOX000392@elgar.kettenis.dyndns.org> From: Mark Kettenis To: bcollins@debian.org CC: gdb@sources.redhat.com In-reply-to: <20031102213147.GG7904@phunnypharm.org> (message from Ben Collins on Sun, 2 Nov 2003 16:31:47 -0500) Subject: Re: Progress on SPARC References: <200311022104.hA2L4mit081014@elgar.kettenis.dyndns.org> <20031102213147.GG7904@phunnypharm.org> X-SW-Source: 2003-11/txt/msg00009.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. Dave's GDB probably has the same problems. Mark