This is the mail archive of the gdb@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: New Ada failure


Daniel Jacobowitz wrote:
Breakpoint 1, main (argc=1, argv=140737488347304, envp=140737488347320) at b~foo.adb:99
99            Ensure_Reference : System.Address := Ada_Main_Program_Name'Address;
(gdb) catch exception
Cannot break on __gnat_raise_nodefer_with_msg in this configuration.

The symbol is present, in my shared libgnat.so. I have a stripped
libgnat, unsurprisingly.

Ada.Exceptions needs to be compiled with debug information and not stripped, so if you strip, you will definitely disable this lookup

I think the problem is that you're using
lookup_symbol; isn't lookup_minimal_symbol sufficient?

Wouldn't really help, since once we break on this routine, we look at its arguments and local variables, so we really need full debug information for this routine. At least that's my understanding.



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