diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-02 11:55:39 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-03-29 12:46:25 -0600 |
commit | bed009b9d8601de825ac848c543ee9853628940d (patch) | |
tree | cd568f167395a54122b29169a32061538fec982c /gdb/utils.c | |
parent | 9fbf7f083e21263b0a0e1f76d615adaa4e13cfe5 (diff) | |
download | gdb-bed009b9d8601de825ac848c543ee9853628940d.zip gdb-bed009b9d8601de825ac848c543ee9853628940d.tar.gz gdb-bed009b9d8601de825ac848c543ee9853628940d.tar.bz2 |
Rename fprintf_symbol_filtered
fprintf_symbol_filtered is misnamed, because whether filtering happens
is now up to the stream. This renames it to fprintf_symbol, which
isn't a great name (the first "f" doesn't mean much and the second one
is truly meaningless here), but "print_symbol" was already taken.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index bf6f4fb..bc0cdd0 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1913,14 +1913,14 @@ print_spaces (int n, struct ui_file *stream) /* C++/ObjC demangler stuff. */ -/* fprintf_symbol_filtered attempts to demangle NAME, a symbol in language +/* fprintf_symbol attempts to demangle NAME, a symbol in language LANG, using demangling args ARG_MODE, and print it filtered to STREAM. If the name is not mangled, or the language for the name is unknown, or demangling is off, the name is printed in its "raw" form. */ void -fprintf_symbol_filtered (struct ui_file *stream, const char *name, - enum language lang, int arg_mode) +fprintf_symbol (struct ui_file *stream, const char *name, + enum language lang, int arg_mode) { if (name != NULL) { |