This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/Ada(v2) 1/3] Add command to list Ada exceptions
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 13 Nov 2013 09:29:17 -0700
- Subject: Re: [RFA/Ada(v2) 1/3] Add command to list Ada exceptions
- Authentication-results: sourceware.org; auth=none
- References: <1383912219-13012-1-git-send-email-brobecker at adacore dot com> <1383912219-13012-2-git-send-email-brobecker at adacore dot com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> This patch adds a new command "info exceptions" whose purpose is to
Joel> provide the list of exceptions currently defined in the inferior.
Joel> The usage is:
Joel> (gdb) info exceptions [REGEXP]
Hi Joel.
The new test fails for me like this:
(gdb) info exceptions
All defined Ada exceptions:
const.aint_global_e: 0x608120
(gdb) FAIL: gdb.ada/info_exc.exp: info exceptions
The test case expects there to be more exceptions:
gdb_test "info exceptions" \
[multi_line "All defined Ada exceptions:" \
"constraint_error: $hex" \
"program_error: $hex" \
"storage_error: $hex" \
"tasking_error: $hex" \
"const.aint_global_e: $hex"]
Any ideas why this may happen?
I'm on Fedora 18 using the system gnat.
I have the libgnat debuginfo installed:
barimba. rpm -qil gcc-debuginfo | grep libgnat
/usr/lib/debug/usr/lib/gcc/x86_64-redhat-linux/4.7.2/adalib/libgnat-4.7.so.debug
/usr/lib/debug/usr/lib/gcc/x86_64-redhat-linux/4.7.2/adalib/libgnat.so.debug
/usr/lib/debug/usr/lib64/libgnat-4.7.so.debug
Tom