aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-09-10 23:28:54 +0000
committerAndrew Cagney <cagney@redhat.com>2002-09-10 23:28:54 +0000
commit9d84ac84eff150d4eecab018ab83ba9f1072ce84 (patch)
tree6a7e25ad39d6ced4f777f1ec13a4d44a4293a9c8 /gdb/infcmd.c
parentfc5cfef41b00f6e0bf42de663039a0d77ea5bd50 (diff)
downloadgdb-9d84ac84eff150d4eecab018ab83ba9f1072ce84.zip
gdb-9d84ac84eff150d4eecab018ab83ba9f1072ce84.tar.gz
gdb-9d84ac84eff150d4eecab018ab83ba9f1072ce84.tar.bz2
2002-09-10 Andrew Cagney <cagney@redhat.com>
* infcmd.c (default_print_registers_info): Send all output to ``file'' instead of ``gdb_stdout''.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 4333325..95636ca 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);
}
}