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]

Re: [PATCH RFC] Make GNU/Linux/PPC port work again


Kevin Buettner wrote:
> 
> The patch below makes the GNU/Linux/PPC port work again.
> 
> I haven't tested it with other Power or PowerPC targets or native
> configurations; it is possible that I inadvertently broke something...
> I'd appreciate it if those of you (hi Nick!) affected by this code
> would test it before I commit this patch.
> 
> Long term, I'd like to introduce a new file called ppc-tdep.c which
> contains the generic target methods for the Power and PowerPC
> architectures.  (Much of the code in rs6000-tdep.c would be moved to
> this file.) rs6000-tdep.c would become an AIX specific file that knows
> about shared libraries, signal handlers, and anything else specific to
> AIX.  It would play the same role for AIX that ppc-linux-tdep.c plays
> for Linux.  (The other way to do it would be to remove the AIXisms
> from rs6000-tdep.c and create a new file named ppc-aix-tdep.c which
> knows about the AIXisms.)
> 
>         * ppc-tdep.h: New file.

What kind of stuff is in this header file, 
that could not go into one or more of the 
tm.h files?

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