* core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
authorDaniel Jacobowitz <drow@false.org>
Fri, 3 Aug 2001 21:34:01 +0000 (21:34 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 3 Aug 2001 21:34:01 +0000 (21:34 +0000)
        and HAVE_FPREGSET_T checks.  Use gdb_gregset_t and gdb_fpregset_t.

gdb/ChangeLog
gdb/core-regset.c

index da71983..938e484 100644 (file)
@@ -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
index 84baaa5..16cfde5 100644 (file)
@@ -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) */
 }
 \f