This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: patch for sparc-tdep.c for NetBSD/sparc.
- To: msnyder at redhat dot com
- Subject: Re: patch for sparc-tdep.c for NetBSD/sparc.
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Thu, 13 Jul 2000 19:32:17 +0200 (MET DST)
- CC: mrg at cygnus dot com, gdb-patches at sourceware dot cygnus dot com
- References: <27386.963476759@cygnus.com> <396DEF57.70A3@redhat.com>
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?
Mark