summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/core-regset.c6
2 files changed, 7 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 809acf76959..f6ad62c7038 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-02 Daniel Jacobowitz <drow@mvista.com>
+
+ * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
+ and HAVE_FPREGSET_T checks. Use gdb_gregset_t and gdb_fpregset_t.
+
2001-08-02 Keith Seitz <keiths@redhat.com>
* defs.h (SLASH_STRING): If not defined, set
diff --git a/gdb/core-regset.c b/gdb/core-regset.c
index 84baaa57c7f..16cfde5be66 100644
--- a/gdb/core-regset.c
+++ b/gdb/core-regset.c
@@ -84,9 +84,8 @@ static void
fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which,
CORE_ADDR reg_addr)
{
-#if defined (HAVE_GREGSET_T) && defined (HAVE_FPREGSET_T)
- gregset_t gregset;
- fpregset_t fpregset;
+ gdb_gregset_t gregset;
+ gdb_fpregset_t fpregset;
if (which == 0)
{
@@ -113,7 +112,6 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which,
supply_fpregset (&fpregset);
}
}
-#endif /* defined(HAVE_GREGSET_T) && defined (HAVE_FPREGSET_T) */
}