aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2001-08-03 21:34:01 +0000
committerDaniel Jacobowitz <drow@false.org>2001-08-03 21:34:01 +0000
commit455ecc72910810dc9447b9eead48256d21574027 (patch)
treef3f2d22935ad5703a76dc152eefd41d3c1557085 /gdb
parentde0b18539d85625d4952a5eada292cfbddb4b071 (diff)
downloadfsf-binutils-gdb-455ecc72910810dc9447b9eead48256d21574027.zip
fsf-binutils-gdb-455ecc72910810dc9447b9eead48256d21574027.tar.gz
fsf-binutils-gdb-455ecc72910810dc9447b9eead48256d21574027.tar.bz2
* core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
and HAVE_FPREGSET_T checks. Use gdb_gregset_t and gdb_fpregset_t.
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 da71983..938e484 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 84baaa5..16cfde5 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) */
}