Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Robert Dewar <dewar@adacore.com>
To: gdb@sourceware.org, Joel Brobecker <brobecker@adacore.com>
Subject: Re: New Ada failure
Date: Thu, 04 Jan 2007 23:09:00 -0000	[thread overview]
Message-ID: <459D8940.3030908@adacore.com> (raw)
In-Reply-To: <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.
> 


  reply	other threads:[~2007-01-04 23:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-04 20:24 Daniel Jacobowitz
2007-01-04 23:09 ` Robert Dewar [this message]
2007-01-04 23:15   ` Daniel Jacobowitz
2007-01-04 23:22   ` Mark Kettenis
2007-01-04 23:26     ` Robert Dewar
2007-01-04 23:27       ` Daniel Jacobowitz
2007-01-05  3:56 ` Joel Brobecker
2007-01-05  3:59   ` Daniel Jacobowitz
2007-01-05  4:06     ` Joel Brobecker
2007-01-05 15:31     ` Joel Brobecker
2007-01-05 15:42       ` Daniel Jacobowitz
2007-01-05 16:03         ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=459D8940.3030908@adacore.com \
    --to=dewar@adacore.com \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox