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

@@ -338,7 +338,7 @@ exception_catchpoint::print_recreate (struct ui_file *fp)
gdb_printf (fp, "rethrow");
break;
}
print_recreate_thread (this, fp);
print_recreate_thread (fp);
}
/* Implement the "allocate_location" method for throw and catch