* tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.
This commit is contained in:
parent
067653c535
commit
ad0fd2c861
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue