Don't require inferior execution for Ada catchpoints
authorTom Tromey <tromey@adacore.com>
Thu, 16 Feb 2023 17:42:22 +0000 (10:42 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 12 Jun 2023 17:51:52 +0000 (11:51 -0600)
commit2c4c710f56990c169243702f0d7d3a7fecc5d090
tree91bb7a06023c2d5b013be31c0a7224e99aea48b4
parent03f531ea22222b4dcbf3092185e011ab0cd21ed4
Don't require inferior execution for Ada catchpoints

Currently, Ada catchpoints require that the inferior be running.
However, there's no deep reason for this -- for example, C++ exception
catchpoints do not have this requirement.  Instead, those work like
ordinary breakpoints: they are pending until the needed runtime
locations are seen.

This patch changes Ada catchpoints to work the same way.
gdb/ada-lang.c