This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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");
     }
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]