RFA: use gdbarch for solib stuff on PPC Linux
Jim Blandy
jimb@redhat.com
Fri May 30 03:44:00 GMT 2003
I've committed this. Thanks.
Kevin Buettner <kevinb@redhat.com> writes:
> 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
More information about the Gdb-patches
mailing list