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: matthew green <mrg at cygnus dot com>
- Subject: Re: patch for sparc-tdep.c for NetBSD/sparc.
- From: jtc at redback dot com (J.T. Conklin)
- Date: 14 Jul 2000 10:55:48 -0700
- Cc: David Taylor <taylor at cygnus dot com>,gdb-patches at sourceware dot cygnus dot com
- References: <28566.963550086@cygnus.com>
- Reply-To: jtc at redback dot com
>>>>> "matthew" == matthew green <mrg@cygnus.com> writes:
>> Shouldn't the NetBSD config headers define GDB_FPREGSET_T and
>> GDB_FPREGSET_T instead?
matthew> um...something like this? it works for me.
matthew>
matthew> 2000-07-14 matthew green <mrg@redhat.com>
matthew>
matthew> * config/sparc/nm-nbsd.h (gregset_t): Define as `struct reg' if
matthew> undefined.
matthew> (fpregset_t): Define as `struct fpreg' if undefined.
It's better, but I think the suggestions were to add the following
macros.
#define GDB_GREGSET_T struct reg
#define GDB_FPREGSET_T struct fpreg
as that is a more direct way of defining the types.
Unfortunately I can't test this because, my IPC is in two pieces until
I can figure out how to remove and replace its hard drive.
If this works, I'll approve and commit this change.
--jtc
--
J.T. Conklin
RedBack Networks