Change print_recreate_thread to a method

This changes print_recreate_thread to be a method on breakpoint.  This
function is only used as a helper by print_recreate methods, so I
thought this transformation made sense.
This commit is contained in:
Tom Tromey 2022-04-30 07:49:11 -06:00
parent dd9cd55e99
commit 04d0163c3f
7 changed files with 27 additions and 26 deletions

View file

@ -172,7 +172,7 @@ void
fork_catchpoint::print_recreate (struct ui_file *fp)
{
gdb_printf (fp, "catch %s", is_vfork ? "vfork" : "fork");
print_recreate_thread (this, fp);
print_recreate_thread (fp);
}
static void