patch for sparc-tdep.c for NetBSD/sparc.

Michael Snyder msnyder@cygnus.com
Thu Jul 13 10:41:00 GMT 2000


Mark Kettenis wrote:
> 
>    Date: Thu, 13 Jul 2000 09:33:27 -0700
>    From: Michael Snyder <msnyder@redhat.com>
> 
>    matthew green wrote:
>    >
>    > i copied the following lines from alphabsd-nat.c, and this allows
>    > gdb-current to successfully configure, build & run under NetBSD/sparc.
>    >
>    > would someone please apply this patch?
>    >
>    > thanks,
>    >
>    > .mrg.
> 
>    It looks OK to me.  David?
> 
>    >
>    > 2000-07-13  matthew green  <mrg@redhat.com>
>    >
>    >         * sparc-tdep.c (gregset_t): Define as `struct reg' if undefined.
>    >         (fpregset_t): Define as `struct fpreg' if undefined.
> 
> Shouldn't the NetBSD config headers define GDB_FPREGSET_T and
> GDB_FPREGSET_T instead?

Hmm... good point!  Matthew?


More information about the Gdb-patches mailing list