summaryrefslogtreecommitdiff
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
commitb6cc828cdb7dd0e53f4231ad2b4925340d234306 (patch)
tree191bde9b650c31dde2ef424d434a1dcc58f978d7
parent92f3721801a55cd4945544c3df9010a1eba5d32b (diff)
downloadgdb-b6cc828cdb7dd0e53f4231ad2b4925340d234306.tar.gz
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 dc5146a4441..a85e6496f2a 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 38cb1b69a4b..2cdc3943519 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");
}
}