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/cris-tdep.c | |
parent | d53fd721a18f8c827aa69ffbd15abd99641b5e20 (diff) | |
download | fsf-binutils-gdb-a1ea4cacd4ac309cdcd13184d225190c80d628ee.zip fsf-binutils-gdb-a1ea4cacd4ac309cdcd13184d225190c80d628ee.tar.gz fsf-binutils-gdb-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/cris-tdep.c')
-rw-r--r-- | gdb/cris-tdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index 7db05a7..9698d32 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -3863,12 +3863,12 @@ cris_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file) cris_gdbarch_tdep *tdep = (cris_gdbarch_tdep *) gdbarch_tdep (gdbarch); if (tdep != NULL) { - fprintf_unfiltered (file, "cris_dump_tdep: tdep->cris_version = %i\n", - tdep->cris_version); - fprintf_unfiltered (file, "cris_dump_tdep: tdep->cris_mode = %s\n", - tdep->cris_mode); - fprintf_unfiltered (file, "cris_dump_tdep: tdep->cris_dwarf2_cfi = %i\n", - tdep->cris_dwarf2_cfi); + fprintf_filtered (file, "cris_dump_tdep: tdep->cris_version = %i\n", + tdep->cris_version); + fprintf_filtered (file, "cris_dump_tdep: tdep->cris_mode = %s\n", + tdep->cris_mode); + fprintf_filtered (file, "cris_dump_tdep: tdep->cris_dwarf2_cfi = %i\n", + tdep->cris_dwarf2_cfi); } } |