aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-05 20:52:44 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-05 20:52:44 +0000
commitc2e1b8f216005f2bf9ad0813c9eb28e896b9630e (patch)
tree5137504e472f66b0b576af88785198fb31cd4992
parent87647bb0c7edc3274f99f3173a325eece2d2af06 (diff)
downloadgdb-c2e1b8f216005f2bf9ad0813c9eb28e896b9630e.zip
gdb-c2e1b8f216005f2bf9ad0813c9eb28e896b9630e.tar.gz
gdb-c2e1b8f216005f2bf9ad0813c9eb28e896b9630e.tar.bz2
2002-11-05 Andrew Cagney <ac131313@redhat.com>
* infcmd.c (default_print_registers_info): Do not call PRINT_REGISTER_HOOK.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infcmd.c6
2 files changed, 5 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dc5146a..a85e649 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2002-11-05 Andrew Cagney <ac131313@redhat.com>
+ * infcmd.c (default_print_registers_info): Do not call
+ PRINT_REGISTER_HOOK.
+
+2002-11-05 Andrew Cagney <ac131313@redhat.com>
+
* sparc-tdep.c (sparc_print_register_hook): Make static.
(sparc_print_registers_info): New function.
(sparc_do_registers_info): New function.
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 38cb1b6..2cdc394 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1663,12 +1663,6 @@ default_print_registers_info (struct gdbarch *gdbarch,
}
}
- /* The SPARC wants to print even-numbered float regs as doubles
- in addition to printing them as floats. */
-#ifdef PRINT_REGISTER_HOOK
- PRINT_REGISTER_HOOK (i);
-#endif
-
fprintf_filtered (file, "\n");
}
}