summaryrefslogtreecommitdiff
path: root/gdb/tui/tuiRegs.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-08-24 09:43:30 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-08-24 09:43:30 +0000
commit9252ebd70e53c823541351be6fe83820d781cb08 (patch)
tree290847ac80cad828de5853e0367591f18c7120e0 /gdb/tui/tuiRegs.c
parentc86d9c86db6dc820854c30e00ae85018efa8a62e (diff)
downloadgdb-9252ebd70e53c823541351be6fe83820d781cb08.tar.gz
* tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.
Diffstat (limited to 'gdb/tui/tuiRegs.c')
-rw-r--r--gdb/tui/tuiRegs.c3
1 files changed, 2 insertions, 1 deletions
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);