aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.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/ada-lang.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/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 1 insertions, 1 deletions
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. */