diff options
author | Tom Tromey <tromey@adacore.com> | 2022-05-02 08:26:49 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-05-02 08:26:49 -0600 |
commit | 73a7911e8e5f77145f93cfc5f6596aead79f6fee (patch) | |
tree | ecbb491f3db047a11924cdcd065c011eaf1dfda3 /gdb/ada-lang.c | |
parent | a55939ca586b81c16cc95fa692a7862551cc6773 (diff) | |
download | binutils-73a7911e8e5f77145f93cfc5f6596aead79f6fee.zip binutils-73a7911e8e5f77145f93cfc5f6596aead79f6fee.tar.gz binutils-73a7911e8e5f77145f93cfc5f6596aead79f6fee.tar.bz2 |
Fix Ada catchpoint regression
The breakpoint C++-ification series introduced a regression for Ada
catchpoints. Specifically, commit 2b5ab5b8 ("Convert base breakpoints
to vtable ops") caused these to start failing. I didn't notice this
because testing Ada using a Linux distro compiler requires installing
the GNAT debuginfo, which I hadn't done.
This patch fixes the problem. I'm checking it in.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index f1af28a..54bcd86 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -12122,7 +12122,7 @@ public: /* An instance of this type is used to represent an Ada catchpoint. */ -struct ada_catchpoint : public breakpoint +struct ada_catchpoint : public base_breakpoint { explicit ada_catchpoint (enum ada_exception_catchpoint_kind kind) : m_kind (kind) |