From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25062 invoked by alias); 28 Aug 2003 14:24:05 -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 25048 invoked from network); 28 Aug 2003 14:24:04 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 28 Aug 2003 14:24:04 -0000 Received: from drow by nevyn.them.org with local (Exim 4.22 #1 (Debian)) id 19sNgl-0000kA-CN; Thu, 28 Aug 2003 10:23:51 -0400 Date: Thu, 28 Aug 2003 14:24:00 -0000 From: Daniel Jacobowitz To: "Nathan J. Williams" , thorpej@wasabisystems.com Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] IBM6000_TARGET is wrong for NetBSD/powerpc Message-ID: <20030828142351.GB2731@nevyn.them.org> Mail-Followup-To: "Nathan J. Williams" , thorpej@wasabisystems.com, gdb-patches@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-08/txt/msg00506.txt.bz2 On Thu, Aug 14, 2003 at 06:13:38PM -0400, Nathan J. Williams wrote: > > I just remembered to dig this "local" fix out of the NetBSD > tree. NetBSD doen't want the IBM6000_TARGET-munged section > calculations either. The comment is cribbed from the similar #undef in > tm-linux.h. > > I'd appreciate it if someone could check and commit this. Hi Jason, Did you see this patch? It looks right to me, but you're the NetBSD maintainer :) > Index: tm-nbsd.h > =================================================================== > RCS file: /cvs/src/src/gdb/config/powerpc/tm-nbsd.h,v > retrieving revision 1.2 > diff -u -r1.2 tm-nbsd.h > --- tm-nbsd.h 22 May 2002 03:59:55 -0000 1.2 > +++ tm-nbsd.h 14 Aug 2003 22:09:26 -0000 > @@ -23,4 +23,8 @@ > > #include "powerpc/tm-ppc-eabi.h" > > +/* We _want_ the SVR4 section offset calculations (see syms_from_objfile() > + in symfile.c) */ > +#undef IBM6000_TARGET > + > #endif /* TM_NBSD_H */ > > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer