aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-01 12:18:47 -0700
committerTom Tromey <tom@tromey.com>2022-03-29 12:46:24 -0600
commitdcf1a2c8d2f5776796927d147f40214d23c818de (patch)
treeae0e553b000e0a12d62adf7428c5393bb78f736e /gdb/utils.c
parent830df12588cfa80be673e710bee22761752ead11 (diff)
downloadgdb-dcf1a2c8d2f5776796927d147f40214d23c818de.zip
gdb-dcf1a2c8d2f5776796927d147f40214d23c818de.tar.gz
gdb-dcf1a2c8d2f5776796927d147f40214d23c818de.tar.bz2
Only have one API for unfiltered output
At the end of this series, the use of unfiltered output will be very restricted -- only places that definitely need it will use it. To this end, I thought it would be good to reduce the number of _unfiltered APIs that are exposed. This patch changes gdb so that only printf_unfiltered exists. (After this patch, the f* variants still exist as well, but those will be removed later.)
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 48aedb0..a071721 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -1868,12 +1868,6 @@ fputs_highlighted (const char *str, const compiled_regex &highlight,
fputs_filtered (str, stream);
}
-int
-putchar_unfiltered (int c)
-{
- return fputc_unfiltered (c, gdb_stdout);
-}
-
/* Write character C to gdb_stdout using GDB's paging mechanism and return C.
May return nonlocally. */
@@ -2046,12 +2040,6 @@ puts_filtered (const char *string)
fputs_filtered (string, gdb_stdout);
}
-void
-puts_unfiltered (const char *string)
-{
- fputs_unfiltered (string, gdb_stdout);
-}
-
/* Return a pointer to N spaces and a null. The pointer is good
until the next call to here. */
const char *