This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/Ada(v2) 1/3] Add command to list Ada exceptions


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]