aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-09-30 05:41:39 +0000
committerKevin Buettner <kevinb@redhat.com>2000-09-30 05:41:39 +0000
commit8ae45c112d75d7fa9a2436357911d2a93f2d3632 (patch)
tree163cb6aaa28327e2165c98826e022057dc3d64e2
parentd0849a9a5a50d53a85228bd7efd0505a8f307c48 (diff)
downloadfsf-binutils-gdb-8ae45c112d75d7fa9a2436357911d2a93f2d3632.zip
fsf-binutils-gdb-8ae45c112d75d7fa9a2436357911d2a93f2d3632.tar.gz
fsf-binutils-gdb-8ae45c112d75d7fa9a2436357911d2a93f2d3632.tar.bz2
Make definitions of supply_gregset, fill_gregset, supply_fpregset,
and fill_fpregset match declarations in gregset.h.
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/ppc-linux-nat.c8
2 files changed, 13 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 93f8dd6..d704164 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
2000-09-29 Kevin Buettner <kevinb@redhat.com>
+ * 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.
+
+2000-09-29 Kevin Buettner <kevinb@redhat.com>
+
* procfs.c (proc_iterate_over_mappings, proc_iterate_over_threads,
procfs_xfer_memory): Protoize.
* ptx4-nat.c (proc_iterate_over_mappings): Protoize.
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index 7388254..d562eca 100644
--- a/gdb/ppc-linux-nat.c
+++ b/gdb/ppc-linux-nat.c
@@ -58,7 +58,7 @@ ppc_register_u_addr (int ustart, int regnum)
}
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 @@ supply_gregset (gregset_t * gregsetp)
}
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 @@ fill_gregset (gregset_t *gregsetp, int regno)
}
void
-supply_fpregset (fpregset_t * fpregsetp)
+supply_fpregset (gdb_fpregset_t * fpregsetp)
{
int regi;
for (regi = 0; regi < 32; regi++)
@@ -108,7 +108,7 @@ supply_fpregset (fpregset_t * fpregsetp)
them all. */
void
-fill_fpregset (fpregset_t *fpregsetp, int regno)
+fill_fpregset (gdb_fpregset_t *fpregsetp, int regno)
{
int regi;
char *to;