support Ada EH ABI v1
authorAlexandre Oliva <oliva@adacore.com>
Fri, 2 Aug 2019 18:40:32 +0000 (15:40 -0300)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 2 Aug 2019 18:40:32 +0000 (15:40 -0300)
commitca683e3a86d081fcf43685bee840086bd4c07443
tree24e3b703237f1bf13fc5077adc17978bf7cc0c1f
parent89c52ae3a20e8d84a250095781c1e022af542b3f
support Ada EH ABI v1

A new pair of hooks used by Ada exception handlers, for correct
release of reraised exception occurrences, involves the introduction
of new v1 symbols that GDB should use when available.  The older, v0
ABI remains available in newer runtimes for bootstrapping purposes
only.

for  gdb/ChangeLog

* ada-lang.c (exception_support_info_v0): Renamed from...
(default_exception_support_info): ... this.  Create new
definition for v1.
(ada_has_this_exception_support): Look up catch_handlers_sym.
(ada_exception_support_info_sniffer): Try v0 after default.
gdb/ChangeLog
gdb/ada-lang.c