Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Joel Brobecker <brobecker@adacore.com>, gdb@sourceware.org
Subject: More "catch assert" Ada failures
Date: Mon, 04 Jun 2007 13:02:00 -0000	[thread overview]
Message-ID: <20070604130204.GA31142@caradoc.them.org> (raw)

Debian now has a libgnat-4.1-dbg package which includes complete
debugging information for libgnat; this should let GDB handle
exception and assertion catchpoints.  A couple of the tests fail
though:

Unable to break on 'system__assertions__raise_assert_failure' in this
configuration.

But:

(gdb) b system__assertions__raise_assert_failure
Breakpoint 2 at 0x2aaaaae86530: file s-assert.adb, line 42.

(gdb) b 'system.assertions.raise_assert_failure'
Can't find member of namespace, class, struct, or union named "system.assertions.raise_assert_failure"

The debug info says "system.assertions.raise_assert_failure" in
DW_AT_name and tab completion finds that, but we can't breakpoint it;
and looking up the mangled double-underscore form only finds the
minimal symbol.  What do you expect to happen here?

-- 
Daniel Jacobowitz
CodeSourcery


             reply	other threads:[~2007-06-04 13:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-04 13:02 Daniel Jacobowitz [this message]
2007-06-04 15:49 ` Joel Brobecker
2007-06-04 16:06   ` Daniel Jacobowitz
2007-06-04 19:06     ` Joel Brobecker
2007-06-04 21:30       ` Joel Brobecker
2007-06-04 21:57         ` Daniel Jacobowitz

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=20070604130204.GA31142@caradoc.them.org \
    --to=drow@false.org \
    --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