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:
parent
dd9cd55e99
commit
04d0163c3f
7 changed files with 27 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue