Transfer ownership of exception string to ada_catchpoint
authorTom Tromey <tromey@adacore.com>
Thu, 16 Feb 2023 17:46:04 +0000 (10:46 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 12 Jun 2023 17:51:52 +0000 (11:51 -0600)
commit898db0f75d07c0c40682fce080d7f631179bd85a
tree4924d55aa4befd2021852454ebf8870bac9afe87
parentdc3f8fa94a1c818710d05a2682e9fd998055bba5
Transfer ownership of exception string to ada_catchpoint

This changes the ada_catchpoint to require an rvalue ref, so that
ownership of the exception string can be transferred to the catchpoint
object.
gdb/ada-lang.c
gdb/ada-lang.h
gdb/mi/mi-cmd-catch.c