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: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 13 Nov 2013 21:21:35 +0400
- 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> <87r4akz2n6 dot fsf at fleche dot redhat dot com>
> 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
Hmmm, you are missing the standard exceptions, for which you should not
even need debugging information. Could you send me privately the binary
as well as all SO dependencies?
Thanks!
--
Joel