From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19900 invoked by alias); 30 Mar 2006 01:36:11 -0000 Received: (qmail 19892 invoked by uid 22791); 30 Mar 2006 01:36:10 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 30 Mar 2006 01:36:09 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FOm51-0004XI-4N for gdb@sourceware.org; Wed, 29 Mar 2006 20:36:07 -0500 Date: Thu, 30 Mar 2006 04:13:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: GDB paper accepted for GCC summit Message-ID: <20060330013607.GA17383@nevyn.them.org> Mail-Followup-To: gdb@sourceware.org References: <1142633147.21920.400.camel@dufur.beaverton.ibm.com> <1143675770.21920.421.camel@dufur.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00214.txt.bz2 On Thu, Mar 30, 2006 at 09:26:53AM +0800, Randolph Chung wrote: > This is my understanding: > multi-arch is a generalized form of biarch, the idea being that one gdb > binary can debug multiple targets. The most common form of this is a gdb > that can debug 32-bit and 64-bit binaries on the same machine, but > presumably one could build a gdb that can debug e.g. x86 targets > natively, and at the same time an embedded arm target. I don't know if > we are quite there yet though. Most of this work involves encapsulating > target specific operations into vectors that can be changed at runtime, > instead of having link-time bindings of those operations. Yes. We're very close; if someone wanted to make this work, they probably could. IIRC it once worked for a couple of embedded targets. -- Daniel Jacobowitz CodeSourcery