From 9d84ac84eff150d4eecab018ab83ba9f1072ce84 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 10 Sep 2002 23:28:54 +0000 Subject: [PATCH] 2002-09-10 Andrew Cagney * infcmd.c (default_print_registers_info): Send all output to ``file'' instead of ``gdb_stdout''. --- gdb/ChangeLog | 5 +++++ gdb/infcmd.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ca1a562da7..d832ac6f123 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-09-10 Andrew Cagney + + * infcmd.c (default_print_registers_info): Send all output to + ``file'' instead of ``gdb_stdout''. + 2002-09-10 Michael Snyder * mips-tdep.c (mips_extract_struct_value_address): Make val a diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 433332555e8..95636ca4666 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -1653,14 +1653,14 @@ default_print_registers_info (struct gdbarch *gdbarch, { /* Print the register in hex. */ val_print (REGISTER_VIRTUAL_TYPE (i), virtual_buffer, 0, 0, - gdb_stdout, 'x', 1, 0, Val_pretty_default); + file, 'x', 1, 0, Val_pretty_default); /* If not a vector register, print it also according to its natural format. */ if (TYPE_VECTOR (REGISTER_VIRTUAL_TYPE (i)) == 0) { - printf_filtered ("\t"); + fprintf_filtered (file, "\t"); val_print (REGISTER_VIRTUAL_TYPE (i), virtual_buffer, 0, 0, - gdb_stdout, 0, 1, 0, Val_pretty_default); + file, 0, 1, 0, Val_pretty_default); } } -- 2.30.2