aboutsummaryrefslogtreecommitdiff
path: root/gdb/break-catch-fork.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-04-30 07:49:11 -0600
committerTom Tromey <tom@tromey.com>2022-05-06 12:03:34 -0600
commit04d0163c3ff280a2ec7d4e06594da750ef8f96d5 (patch)
tree51e6f870b108c69276fa5e4823f248b7925f9921 /gdb/break-catch-fork.c
parentdd9cd55e990bcc9f8448cac38d242d53974b3604 (diff)
downloadgdb-04d0163c3ff280a2ec7d4e06594da750ef8f96d5.zip
gdb-04d0163c3ff280a2ec7d4e06594da750ef8f96d5.tar.gz
gdb-04d0163c3ff280a2ec7d4e06594da750ef8f96d5.tar.bz2
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.
Diffstat (limited to 'gdb/break-catch-fork.c')
-rw-r--r--gdb/break-catch-fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/break-catch-fork.c b/gdb/break-catch-fork.c
index eb88e78..75e32af 100644
--- a/gdb/break-catch-fork.c
+++ b/gdb/break-catch-fork.c
@@ -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