aboutsummaryrefslogtreecommitdiff
path: root/gdb/mn10300-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-12-26 13:26:58 -0700
committerTom Tromey <tom@tromey.com>2022-01-05 11:08:44 -0700
commita1ea4cacd4ac309cdcd13184d225190c80d628ee (patch)
tree3f3fa1fd6b900ca571f3702e083ce5f35c9b5ad1 /gdb/mn10300-tdep.c
parentd53fd721a18f8c827aa69ffbd15abd99641b5e20 (diff)
downloadgdb-a1ea4cacd4ac309cdcd13184d225190c80d628ee.zip
gdb-a1ea4cacd4ac309cdcd13184d225190c80d628ee.tar.gz
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/mn10300-tdep.c')
-rw-r--r--gdb/mn10300-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c
index 03b7252..02efd84 100644
--- a/gdb/mn10300-tdep.c
+++ b/gdb/mn10300-tdep.c
@@ -1413,8 +1413,8 @@ static void
mn10300_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file)
{
mn10300_gdbarch_tdep *tdep = (mn10300_gdbarch_tdep *) gdbarch_tdep (gdbarch);
- fprintf_unfiltered (file, "mn10300_dump_tdep: am33_mode = %d\n",
- tdep->am33_mode);
+ fprintf_filtered (file, "mn10300_dump_tdep: am33_mode = %d\n",
+ tdep->am33_mode);
}
void _initialize_mn10300_tdep ();