aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-02 11:55:39 -0700
committerTom Tromey <tom@tromey.com>2022-03-29 12:46:25 -0600
commitbed009b9d8601de825ac848c543ee9853628940d (patch)
treecd568f167395a54122b29169a32061538fec982c /gdb/cp-valprint.c
parent9fbf7f083e21263b0a0e1f76d615adaa4e13cfe5 (diff)
downloadgdb-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/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index fc5600c..43a5269 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -230,10 +230,10 @@ cp_print_value_fields (struct value *val, struct ui_file *stream,
if (field_is_static (&type->field (i)))
{
gdb_puts ("static ", stream);
- fprintf_symbol_filtered (stream,
- type->field (i).name (),
- current_language->la_language,
- DMGL_PARAMS | DMGL_ANSI);
+ fprintf_symbol (stream,
+ type->field (i).name (),
+ current_language->la_language,
+ DMGL_PARAMS | DMGL_ANSI);
}
else
fputs_styled (type->field (i).name (),