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/ada-lang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ada-lang.c') diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 54bcd86..5f6f167 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -12519,7 +12519,7 @@ ada_catchpoint::print_recreate (struct ui_file *fp) default: internal_error (__FILE__, __LINE__, _("unexpected catchpoint type")); } - print_recreate_thread (this, fp); + print_recreate_thread (fp); } /* See ada-lang.h. */ -- cgit v1.1