New Ada failure

Robert Dewar dewar@adacore.com
Thu Jan 4 23:09:00 GMT 2007


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.
> 



More information about the Gdb mailing list