* tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.
authorStephane Carrez <stcarrez@nerim.fr>
Sat, 24 Aug 2002 09:43:30 +0000 (09:43 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Sat, 24 Aug 2002 09:43:30 +0000 (09:43 +0000)
gdb/tui/ChangeLog
gdb/tui/tuiRegs.c

index 16d4835a435c76475ac83aabf2bb3d8753b61540..089103011a3ef3ea7d7d89027a76b1d67ae8dc00 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-24  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.
+
 2002-08-18  Daniel Jacobowitz  <drow@mvista.com>
 
        Fix PR gdb/655
index d76c67ea8beea370a1758596c91f2d85f9e5ac4f..deb8efba79f67ce97cbc6dda4a69a992f13d6d6b 100644 (file)
@@ -639,7 +639,8 @@ _tuiRegisterFormat (char *buf, int bufLen, int regNum,
   stream = tui_sfileopen (bufLen);
   gdb_stdout = stream;
   cleanups = make_cleanup (tui_restore_gdbout, (void*) old_stdout);
-  do_registers_info (regNum, 0);
+  gdbarch_print_registers_info (current_gdbarch, stream, selected_frame,
+                                regNum, 1);
 
   /* Save formatted output in the buffer.  */
   p = tui_file_get_strbuf (stream);