* 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 da71983d4222acebf6d413ccf2e92e9ff8b5eb4e..938e484adc02b9fdfa85f3e4940e8e4c1ab4c08a 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 84baaa57c7ff789662ad933319dfa197c79f6315..16cfde5be66cb0096863c138a16058c9a08003ac 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