This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: use gdbarch for solib stuff on PPC Linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]