diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-12-11 17:35:34 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-12-11 17:35:34 +0000 |
commit | f17011e0cdc423256adc389981b4a51b8a13c1ec (patch) | |
tree | 083b19798f4a05e6c170d162bd5c1fac32dc1e6b /gdb/testsuite | |
parent | 143bb59922e6bbeba29288fd5ac216f594c565dd (diff) | |
download | gdb-f17011e0cdc423256adc389981b4a51b8a13c1ec.zip gdb-f17011e0cdc423256adc389981b4a51b8a13c1ec.tar.gz gdb-f17011e0cdc423256adc389981b4a51b8a13c1ec.tar.bz2 |
Ada exception catchpoint support cleanup.
This patch cleans up a bit the way we detect which type of runtime
the program uses with respect to Ada exceptions. It also removes
an unnecessary check in ada_exception_sal which is already performed
by ada_exception_support_info_sniffer.
Some of the changes are preparation work for detecting the situation
where the Ada runtime is found, but lacking debugging info.
gdb/ChangeLog:
* ada-lang.c (ada_has_this_exception_support): New function,
extracted out of ada_exception_sal and ada_exception_sal.
(ada_exception_support_info_sniffer): Simplify by using
ada_has_this_exception_support.
(ada_exception_sal): Replace unnecessary checks by assertions.
Minor simplifications.
Diffstat (limited to 'gdb/testsuite')
0 files changed, 0 insertions, 0 deletions