From: Stephane Carrez Date: Sat, 24 Aug 2002 09:43:30 +0000 (+0000) Subject: * tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad0fd2c86127cf8f988f37521c2f0006240b085a;p=binutils-gdb.git * tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info. --- 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 + + * tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info. + 2002-08-18 Daniel Jacobowitz 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);