public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Tom Tromey <tromey@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Fix Ada catchpoint regression Date: Mon, 2 May 2022 14:32:35 +0000 (GMT) [thread overview] Message-ID: <20220502143235.A416C3858C52@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=73a7911e8e5f77145f93cfc5f6596aead79f6fee commit 73a7911e8e5f77145f93cfc5f6596aead79f6fee Author: Tom Tromey <tromey@adacore.com> Date: Mon May 2 08:26:49 2022 -0600 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. Diff: --- gdb/ada-lang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index f1af28a696a..54bcd86ee7f 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)
reply other threads:[~2022-05-02 14:32 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220502143235.A416C3858C52@sourceware.org \ --to=tromey@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).