From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19243 invoked by alias); 29 Jul 2002 23:45:30 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19236 invoked from network); 29 Jul 2002 23:45:27 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 29 Jul 2002 23:45:27 -0000 Received: from dsl254-114-118.nyc1.dsl.speakeasy.net ([216.254.114.118] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17ZKBv-0005IH-00; Mon, 29 Jul 2002 18:44:43 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17ZKBr-0000uy-00; Mon, 29 Jul 2002 19:44:39 -0400 Date: Mon, 29 Jul 2002 18:50:00 -0000 From: Daniel Jacobowitz To: Jason R Thorpe , Kevin Buettner , Martin Gadbois , gdb-patches@sources.redhat.com Subject: Re: [PATCH] Cross target core debugging: host=i386, Target=PPC Message-ID: <20020729234439.GA666@nevyn.them.org> Mail-Followup-To: Jason R Thorpe , Kevin Buettner , Martin Gadbois , gdb-patches@sources.redhat.com References: <3D45ACCC.9040803@colubris.com> <1020729215359.ZM11339@localhost.localdomain> <20020729164057.P3112@dr-evil.shagadelic.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020729164057.P3112@dr-evil.shagadelic.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-07/txt/msg00573.txt.bz2 On Mon, Jul 29, 2002 at 04:40:57PM -0700, Jason R Thorpe wrote: > On Mon, Jul 29, 2002 at 02:53:59PM -0700, Kevin Buettner wrote: > > > This part will need some work. (The other parts might too; I haven't > > looked closely at them yet.) Anyway, there are several problems here... > > > > 1) The constants ELF_NGREG, ELF_NFPREG, ELF_NVRREG will almost certainly > > be incorrect for other targets. > > > > 2) Defining elf_greg_t in terms of a long isn't portable. > > > > 3) Likewise, for elf_fpreg_t being defined in terms of a double. > > Take a look at the way the e.g. mips-netbsd or the sh-netbsdelf targets > do this. I'll dust off my patches for cross cores tonight. I've just been sitting on them out of sheer laziness. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer