This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH/RFA] OpenBSD/powerpc support
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Mark Kettenis <kettenis at chello dot nl>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 20 Apr 2004 15:37:13 -0700
- Subject: Re: [PATCH/RFA] OpenBSD/powerpc support
- Organization: Red Hat
- References: <200404181717.i3IHHKfb004204@elgar.kettenis.dyndns.org>
On Sun, 18 Apr 2004 19:17:20 +0200 (CEST)
Mark Kettenis <kettenis@chello.nl> wrote:
> The attached patch adds support for OpenBSD/powerpc (OpenBSD/macppc)
> to GDB. This stuff uses the new core file support, and to support
> this, I've invented some new functions:
>
> * ppc_supply_gregset()
> * ppc_collect_gregset()
> * ppc_supply_fpregset()
> * ppc_collect_fpregset()
>
> These functions would be useful to other POWER and PowerPC targets
> too. The idea is to provide a `struct ppc_reg_offsets' initialized to
> describe the layout of the registers in the relevant core file
> sections.
>
> For now I've added these functions to ppcobsd-tdep.c (and the
> definition of `struct pcc_reg_offsets' to ppcobsd-tdep.h. But they
> should probably be moved to rs6000-tdep.c (and ppc-tdep.h).
I'm willing for these functions to be added to rs6000-tdep.c and ppc-tdep.h
at the outset. (Consider such a patch to be preapproved.)
> OK to check this in?
Sure.
Thanks!
Kevin