* tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.

This commit is contained in:
Stephane Carrez 2002-08-24 09:43:30 +00:00
parent 067653c535
commit ad0fd2c861
2 changed files with 6 additions and 1 deletions

View 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

View 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);