From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17474 invoked by alias); 29 Jul 2002 23:40:58 -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 17467 invoked from network); 29 Jul 2002 23:40:57 -0000 Received: from unknown (HELO dr-evil.shagadelic.org) (208.176.2.162) by sources.redhat.com with SMTP; 29 Jul 2002 23:40:57 -0000 Received: by dr-evil.shagadelic.org (Postfix, from userid 7518) id 3E7BC9869; Mon, 29 Jul 2002 16:40:57 -0700 (PDT) Date: Mon, 29 Jul 2002 16:45:00 -0000 From: Jason R Thorpe To: Kevin Buettner Cc: Martin Gadbois , gdb-patches@sources.redhat.com Subject: Re: [PATCH] Cross target core debugging: host=i386, Target=PPC Message-ID: <20020729164057.P3112@dr-evil.shagadelic.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1020729215359.ZM11339@localhost.localdomain>; from kevinb@redhat.com on Mon, Jul 29, 2002 at 02:53:59PM -0700 Organization: Wasabi Systems, Inc. X-SW-Source: 2002-07/txt/msg00572.txt.bz2 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. -- -- Jason R. Thorpe