This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]