[Bug testsuite/30094] [gdb/testsuite, ada] Introduce gnat_runtime_has_minimal_debug_info / gnat_runtime_has_full_debug_info
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Mon Jun 19 09:47:39 GMT 2023
https://sourceware.org/bugzilla/show_bug.cgi?id=30094
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=319626ca736d15836f5381bdc9f0e37396f61b15
commit 319626ca736d15836f5381bdc9f0e37396f61b15
Author: Tom de Vries <tdevries@suse.de>
Date: Mon Jun 19 11:47:29 2023 +0200
[gdb/testsuite] Add shared_gnat_runtime_has_debug_info
Test-case gdb.ada/catch_ex_std.exp passes for me with package
libada7-debuginfo installed, but after removing it I get:
...
(gdb) catch exception some_kind_of_error^M
Your Ada runtime appears to be missing some debugging information.^M
Cannot insert Ada exception catchpoint in this configuration.^M
(gdb) FAIL: gdb.ada/catch_ex_std.exp: catch exception some_kind_of_error
...
The test-case contains a require gnat_runtime_has_debug_info to deal with
this, but the problem is that this checks the static gnat runtime, while
this
test-case uses the shared one.
Fix this by introducing shared_gnat_runtime_has_debug_info, and requiring
that
one instead.
Tested on x86_64-linux.
PR testsuite/30094
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30094
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list