This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: New Ada failure
- From: Robert Dewar <dewar at adacore dot com>
- To: gdb at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>
- Date: Thu, 04 Jan 2007 18:09:52 -0500
- Subject: Re: New Ada failure
- References: <20070104202406.GA26522@nevyn.them.org>
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.