Re: [PATCH/RFA] OpenBSD/powerpc support

Kevin Buettner
2004-04-20T22:37:21Z

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