mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
* tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user