This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/rfc] Delete PRINT_REGISTER_HOOK
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 23 Oct 2002 15:52:31 -0400
- Subject: [patch/rfc] Delete PRINT_REGISTER_HOOK
``Either multi-arch it, or delete it.'' I choose delete.
I'll commit once the other PRINT_REGISTER_HOOK() elimination patches are in.
Andrew
2002-10-23 Andrew Cagney <cagney@redhat.com>
* infcmd.c (default_print_registers_info): Do not call
PRINT_REGISTER_HOOK.
Index: infcmd.c
===================================================================
RCS file: /cvs/src/src/gdb/infcmd.c,v
retrieving revision 1.57
diff -u -r1.57 infcmd.c
--- infcmd.c 3 Oct 2002 02:34:07 -0000 1.57
+++ infcmd.c 23 Oct 2002 19:48:15 -0000
@@ -1664,12 +1664,6 @@
}
}
- /* 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");
}
}