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.
This commit is contained in:
parent
a11ac3b3e8
commit
6cb06a8cda
249 changed files with 8449 additions and 8463 deletions
|
@ -162,8 +162,8 @@ static void
|
|||
print_mention_catch_fork (struct breakpoint *b)
|
||||
{
|
||||
struct fork_catchpoint *c = (struct fork_catchpoint *) b;
|
||||
printf_filtered (_("Catchpoint %d (%s)"), c->number,
|
||||
c->is_vfork ? "vfork" : "fork");
|
||||
gdb_printf (_("Catchpoint %d (%s)"), c->number,
|
||||
c->is_vfork ? "vfork" : "fork");
|
||||
}
|
||||
|
||||
/* Implement the "print_recreate" breakpoint_ops method for fork
|
||||
|
@ -173,8 +173,8 @@ static void
|
|||
print_recreate_catch_fork (struct breakpoint *b, struct ui_file *fp)
|
||||
{
|
||||
struct fork_catchpoint *c = (struct fork_catchpoint *) b;
|
||||
fprintf_unfiltered (fp, "catch %s",
|
||||
c->is_vfork ? "vfork" : "fork");
|
||||
gdb_printf (fp, "catch %s",
|
||||
c->is_vfork ? "vfork" : "fork");
|
||||
print_recreate_thread (b, fp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue