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

@ -144,7 +144,7 @@ void
exec_catchpoint::print_recreate (struct ui_file *fp)
{
gdb_printf (fp, "catch exec");
print_recreate_thread (this, fp);
print_recreate_thread (fp);
}
/* This function attempts to parse an optional "if <cond>" clause