From 04d0163c3ff280a2ec7d4e06594da750ef8f96d5 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 30 Apr 2022 07:49:11 -0600 Subject: 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. --- gdb/break-catch-syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/break-catch-syscall.c') diff --git a/gdb/break-catch-syscall.c b/gdb/break-catch-syscall.c index 3b160bf..ff2566b 100644 --- a/gdb/break-catch-syscall.c +++ b/gdb/break-catch-syscall.c @@ -331,7 +331,7 @@ syscall_catchpoint::print_recreate (struct ui_file *fp) gdb_printf (fp, " %d", s.number); } - print_recreate_thread (this, fp); + print_recreate_thread (fp); } /* Returns non-zero if 'b' is a syscall catchpoint. */ -- cgit v1.1