diff options
author | Tom Tromey <tom@tromey.com> | 2021-12-26 13:26:58 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-01-05 11:08:44 -0700 |
commit | a1ea4cacd4ac309cdcd13184d225190c80d628ee (patch) | |
tree | 3f3fa1fd6b900ca571f3702e083ce5f35c9b5ad1 /gdb/hppa-tdep.c | |
parent | d53fd721a18f8c827aa69ffbd15abd99641b5e20 (diff) | |
download | binutils-a1ea4cacd4ac309cdcd13184d225190c80d628ee.zip binutils-a1ea4cacd4ac309cdcd13184d225190c80d628ee.tar.gz binutils-a1ea4cacd4ac309cdcd13184d225190c80d628ee.tar.bz2 |
Use filtered output for gdbarch dump
This changes gdbarch dumping to use filtered output. This seems a bit
better to me, both on the principle that this is an ordinary command,
and because the output can be voluminous, so it may be nice to stop in
the middle.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index ee8b8d1..6c6e538 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -3162,9 +3162,9 @@ hppa_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file) { hppa_gdbarch_tdep *tdep = (hppa_gdbarch_tdep *) gdbarch_tdep (gdbarch); - fprintf_unfiltered (file, "bytes_per_address = %d\n", - tdep->bytes_per_address); - fprintf_unfiltered (file, "elf = %s\n", tdep->is_elf ? "yes" : "no"); + fprintf_filtered (file, "bytes_per_address = %d\n", + tdep->bytes_per_address); + fprintf_filtered (file, "elf = %s\n", tdep->is_elf ? "yes" : "no"); } void _initialize_hppa_tdep (); |