This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
More "catch assert" Ada failures
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>, gdb at sourceware dot org
- Date: Mon, 4 Jun 2007 09:02:04 -0400
- Subject: More "catch assert" Ada failures
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