From: Tom Tromey Date: Wed, 4 May 2022 16:28:35 +0000 (-0600) Subject: Fix Ada exception regression on Windows X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1779689128d45ca6fd1d1484f2fd907ac791873e;p=binutils-gdb.git Fix Ada exception regression on Windows The breakpoint c++-ification series introduced another bug in Ada -- it caused "catch exception" and related commands to fail on Windows. The problem is that the re_set method calls the wrong superclass method, so the breakpoint doesn't get correctly re-set when the runtime offsets change. This patch fixes the problem. --- diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 8333671c48b..248b847cfbc 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -12212,7 +12212,7 @@ ada_catchpoint::re_set () { /* Call the base class's method. This updates the catchpoint's locations. */ - this->breakpoint::re_set (); + this->base_breakpoint::re_set (); /* Reparse the exception conditional expressions. One for each location. */