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-throw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/break-catch-throw.c') diff --git a/gdb/break-catch-throw.c b/gdb/break-catch-throw.c index 4b79e0f..8742bc9 100644 --- a/gdb/break-catch-throw.c +++ b/gdb/break-catch-throw.c @@ -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 -- cgit v1.1