aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-sig.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/break-catch-sig.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/break-catch-sig.c')
-rw-r--r--gdb/break-catch-sig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-sig.c b/gdb/break-catch-sig.c
index e268a10..b41a908 100644
--- a/gdb/break-catch-sig.c
+++ b/gdb/break-catch-sig.c
@@ -296,7 +296,7 @@ signal_catchpoint_print_recreate (struct breakpoint *b, struct ui_file *fp)
}
else if (c->catch_all)
fprintf_unfiltered (fp, " all");
- fputc_unfiltered ('\n', fp);
+ gdb_putc ('\n', fp);
}
/* Implement the "explains_signal" breakpoint_ops method for signal