diff options
author | Tom Tromey <tom@tromey.com> | 2021-12-29 11:05:51 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-12-29 11:08:14 -0700 |
commit | 3de0d96078193276795b9bdf72a25b77b60d8337 (patch) | |
tree | 6c730b8fdddc60a05cae34a7404a29c9e2c7454f /gdb/arm-tdep.c | |
parent | 7514a661283b9725ceeb4385be67b6b5d7702b2c (diff) | |
download | gdb-3de0d96078193276795b9bdf72a25b77b60d8337.zip gdb-3de0d96078193276795b9bdf72a25b77b60d8337.tar.gz gdb-3de0d96078193276795b9bdf72a25b77b60d8337.tar.bz2 |
Use filtered output in show callbacks
"show" command callbacks, like most ordinary gdb commands, should use
filtered output. I found a few that did not, so this patch changes
them to use the filtered form.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index e4af38c..1068a0c 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -8623,7 +8623,7 @@ show_disassembly_style_sfunc (struct ui_file *file, int from_tty, len = strcspn (style, ","); } - fprintf_unfiltered (file, "The disassembly style is \"%.*s\".\n", len, style); + fprintf_filtered (file, "The disassembly style is \"%.*s\".\n", len, style); } /* Return the ARM register name corresponding to register I. */ |