diff options
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/tui/tuiRegs.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 16d4835a435..089103011a3 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -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 diff --git a/gdb/tui/tuiRegs.c b/gdb/tui/tuiRegs.c index d76c67ea8be..deb8efba79f 100644 --- a/gdb/tui/tuiRegs.c +++ b/gdb/tui/tuiRegs.c @@ -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); |