aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-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/p-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/p-valprint.c')
-rw-r--r--gdb/p-valprint.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c
index 3b98b88..427520f 100644
--- a/gdb/p-valprint.c
+++ b/gdb/p-valprint.c
@@ -582,10 +582,10 @@ pascal_object_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 (),