This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFC] Make GNU/Linux/PPC port work again
- To: Kevin Buettner <kevinb at cygnus dot com>
- Subject: Re: [PATCH RFC] Make GNU/Linux/PPC port work again
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Wed, 19 Jul 2000 16:13:20 -0700
- CC: Nick Duffek <nsd at redhat dot com>, gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <1000719220642.ZM16166@ocotillo.lan>
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?