This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: use gdbarch for solib stuff on PPC Linux
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Jim Blandy <jimb at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Thu, 29 May 2003 18:20:21 -0700
- Subject: Re: RFA: use gdbarch for solib stuff on PPC Linux
- References: <vt2y90pb6ht.fsf@zenia.red-bean.com>
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 <jimb@redhat.com>
>
> 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