From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4888 invoked by alias); 30 May 2003 01:20:28 -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 4880 invoked from network); 30 May 2003 01:20:28 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 30 May 2003 01:20:28 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h4U1KSH22555 for ; Thu, 29 May 2003 21:20:28 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h4U1KSI12614 for ; Thu, 29 May 2003 21:20:28 -0400 Received: from localhost.localdomain (vpn50-12.rdu.redhat.com [172.16.50.12]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h4U1KRb10280; Thu, 29 May 2003 21:20:27 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h4U1KL103246; Thu, 29 May 2003 18:20:21 -0700 Date: Fri, 30 May 2003 01:20:00 -0000 From: Kevin Buettner Message-Id: <1030530012021.ZM3245@localhost.localdomain> In-Reply-To: Jim Blandy "RFA: use gdbarch for solib stuff on PPC Linux" (May 29, 7:52pm) References: To: Jim Blandy , gdb-patches@sources.redhat.com Subject: Re: RFA: use gdbarch for solib stuff on PPC Linux MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg00563.txt.bz2 On May 29, 7:52pm, Jim Blandy wrote: > The #undefs are ugly, but it seems like that's what other targets are > doing (like config/arm/tm-linux.h). Since config/tm-linux.h is used > so widely, simply removing the #inclusion of config/tm-svr4.h would be > hard. Perhaps if we convert the targets that use config/tm-svr4.h > incrementally, with #undefs, we could eventually reach the point where > nobody is using it. > > 2003-05-29 Jim Blandy > > Use gdbarch methods for solib stuff on PowerPC Linux. > * config/powerpc/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, > SKIP_TRAMPOLINE_CODE): #undef these, so the gdbarch methods will > show through. > * ppc-linux-tdep.c (ppc_linux_init_abi): Register > IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE methods here, > giving the same effect as the #definitions above. Okay. Kevin