This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Zap last remaining PRINT_REGISTER_HOOK
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 15 Jan 2003 14:36:15 -0500
- Subject: [commit] Zap last remaining PRINT_REGISTER_HOOK
The actual macro died some time ago. This eliminates a comment and doco
reference.
committed,
Andrew
2003-01-15 Andrew Cagney <ac131313@redhat.com>
* sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
Index: doc/ChangeLog
2003-01-15 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
definition of PRINT_REGISTER_HOOK.
Index: sparc-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-tdep.c,v
retrieving revision 1.63
diff -u -r1.63 sparc-tdep.c
--- sparc-tdep.c 8 Jan 2003 17:21:30 -0000 1.63
+++ sparc-tdep.c 15 Jan 2003 19:27:37 -0000
@@ -1862,8 +1862,7 @@
}
}
-/* PRINT_REGISTER_HOOK routine.
- Pretty print various registers. */
+/* Pretty print various registers. */
/* FIXME: Would be nice if this did some fancy things for 32 bit sparc. */
static void
Index: doc/gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.118
diff -u -r1.118 gdbint.texinfo
--- doc/gdbint.texinfo 13 Jan 2003 23:27:17 -0000 1.118
+++ doc/gdbint.texinfo 15 Jan 2003 19:27:39 -0000
@@ -3652,11 +3652,6 @@
If non-zero, round arguments to a boundary of this many bits before
pushing them on the stack.
-@item PRINT_REGISTER_HOOK (@var{regno})
-@findex PRINT_REGISTER_HOOK
-If defined, this must be a function that prints the contents of the
-given register to standard output.
-
@item PRINT_TYPELESS_INTEGER
@findex PRINT_TYPELESS_INTEGER
This is an obscure substitute for @code{print_longest} that seems to