mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
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.
This commit is contained in:
@ -12122,7 +12122,7 @@ public:
|
|||||||
|
|
||||||
/* An instance of this type is used to represent an Ada catchpoint. */
|
/* 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)
|
explicit ada_catchpoint (enum ada_exception_catchpoint_kind kind)
|
||||||
: m_kind (kind)
|
: m_kind (kind)
|
||||||
|
Reference in New Issue
Block a user