[PATCH] ppc-linux-nat.c: gregset_t -> gdb_gregset_t
Kevin Buettner
kevinb@cygnus.com
Fri Sep 29 22:46:00 GMT 2000
I've just committed the changes below.
Andrew Haley reported compilation errors when building this file.
I've not been able to reproduce the compilation errors, but I agree
with his assertion that the declarations in gregset.h ought to match
the corresponding function definitions in ppc-linux-nat.c.
* ppc-linux-nat.c (supply_gregset, fill_gregset): Change type
of first argument from gregset_t to gdb_gregset_t in order
to match declarations in gregset.h.
(supply_fpregset, fill_fpregset): Change type of first argument
from fpregset_t to gdb_fpregset_t in order to match declarations
in gregset.h.
Index: ppc-linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/ppc-linux-nat.c,v
retrieving revision 1.5
diff -u -r1.5 ppc-linux-nat.c
--- ppc-linux-nat.c 2000/09/18 01:08:23 1.5
+++ ppc-linux-nat.c 2000/09/30 05:09:49
@@ -58,7 +58,7 @@
}
void
-supply_gregset (gregset_t * gregsetp)
+supply_gregset (gdb_gregset_t *gregsetp)
{
int regi;
register greg_t *regp = (greg_t *) gregsetp;
@@ -71,7 +71,7 @@
}
void
-fill_gregset (gregset_t *gregsetp, int regno)
+fill_gregset (gdb_gregset_t *gregsetp, int regno)
{
int regi;
greg_t *regp = (greg_t *) gregsetp;
@@ -93,7 +93,7 @@
}
void
-supply_fpregset (fpregset_t * fpregsetp)
+supply_fpregset (gdb_fpregset_t * fpregsetp)
{
int regi;
for (regi = 0; regi < 32; regi++)
@@ -108,7 +108,7 @@
them all. */
void
-fill_fpregset (fpregset_t *fpregsetp, int regno)
+fill_fpregset (gdb_fpregset_t *fpregsetp, int regno)
{
int regi;
char *to;
More information about the Gdb-patches
mailing list