aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.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/printcmd.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/printcmd.c')
-rw-r--r--gdb/printcmd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index b200ccf..396d1fe 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -1633,8 +1633,8 @@ info_address_command (const char *exp, int from_tty)
if (is_a_field_of_this.type != NULL)
{
gdb_printf ("Symbol \"");
- fprintf_symbol_filtered (gdb_stdout, exp,
- current_language->la_language, DMGL_ANSI);
+ fprintf_symbol (gdb_stdout, exp,
+ current_language->la_language, DMGL_ANSI);
gdb_printf ("\" is a field of the local class variable ");
if (current_language->la_language == language_objc)
gdb_printf ("`self'\n"); /* ObjC equivalent of "this" */
@@ -1653,8 +1653,8 @@ info_address_command (const char *exp, int from_tty)
load_addr = BMSYMBOL_VALUE_ADDRESS (msymbol);
gdb_printf ("Symbol \"");
- fprintf_symbol_filtered (gdb_stdout, exp,
- current_language->la_language, DMGL_ANSI);
+ fprintf_symbol (gdb_stdout, exp,
+ current_language->la_language, DMGL_ANSI);
gdb_printf ("\" is at ");
fputs_styled (paddress (gdbarch, load_addr), address_style.style (),
gdb_stdout);