aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-exec.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-02 11:46:15 -0700
committerTom Tromey <tom@tromey.com>2022-03-29 12:46:24 -0600
commit6cb06a8cdaaf30f5d879f24d37100cf1d25c6a3a (patch)
tree641a6a86240919fe4ba9219fbbbe15bc6331c22d /gdb/break-catch-exec.c
parenta11ac3b3e8ff6769badcf0041894f6c5acc1b94f (diff)
downloadbinutils-6cb06a8cdaaf30f5d879f24d37100cf1d25c6a3a.zip
binutils-6cb06a8cdaaf30f5d879f24d37100cf1d25c6a3a.tar.gz
binutils-6cb06a8cdaaf30f5d879f24d37100cf1d25c6a3a.tar.bz2
Unify gdb printf functions
Now that filtered and unfiltered output can be treated identically, we can unify the printf family of functions. This is done under the name "gdb_printf". Most of this patch was written by script.
Diffstat (limited to 'gdb/break-catch-exec.c')
-rw-r--r--gdb/break-catch-exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/break-catch-exec.c b/gdb/break-catch-exec.c
index c0cf2ae..10a578b 100644
--- a/gdb/break-catch-exec.c
+++ b/gdb/break-catch-exec.c
@@ -124,7 +124,7 @@ print_one_catch_exec (struct breakpoint *b, struct bp_location **last_loc)
static void
print_mention_catch_exec (struct breakpoint *b)
{
- printf_filtered (_("Catchpoint %d (exec)"), b->number);
+ gdb_printf (_("Catchpoint %d (exec)"), b->number);
}
/* Implement the "print_recreate" breakpoint_ops method for exec
@@ -133,7 +133,7 @@ print_mention_catch_exec (struct breakpoint *b)
static void
print_recreate_catch_exec (struct breakpoint *b, struct ui_file *fp)
{
- fprintf_unfiltered (fp, "catch exec");
+ gdb_printf (fp, "catch exec");
print_recreate_thread (b, fp);
}