This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


>>>>> "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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]