aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-valprint.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-02 11:42:07 -0700
committerTom Tromey <tom@tromey.com>2022-03-29 12:46:24 -0600
commita11ac3b3e8ff6769badcf0041894f6c5acc1b94f (patch)
tree09cfacc40b2fbe929ca0013869915ddce49378ba /gdb/f-valprint.c
parent0426ad513f93bb1c5805988e60d6f87fbe738860 (diff)
downloadgdb-a11ac3b3e8ff6769badcf0041894f6c5acc1b94f.zip
gdb-a11ac3b3e8ff6769badcf0041894f6c5acc1b94f.tar.gz
gdb-a11ac3b3e8ff6769badcf0041894f6c5acc1b94f.tar.bz2
Unify gdb putc functions
Now that filtered and unfiltered output can be treated identically, we can unify the putc family of functions. This is done under the name "gdb_putc". Most of this patch was written by script.
Diffstat (limited to 'gdb/f-valprint.c')
-rw-r--r--gdb/f-valprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c
index e56815c..e10d471 100644
--- a/gdb/f-valprint.c
+++ b/gdb/f-valprint.c
@@ -621,7 +621,7 @@ info_common_command_for_block (const struct block *block, const char *comname,
continue;
if (*any_printed)
- putchar_filtered ('\n');
+ gdb_putc ('\n');
else
*any_printed = 1;
if (sym->print_name ())
@@ -650,7 +650,7 @@ info_common_command_for_block (const struct block *block, const char *comname,
except.what ());
}
- putchar_filtered ('\n');
+ gdb_putc ('\n');
}
}
}