comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: Abstract Interface - Assertion Error
Date: Tue, 23 Oct 2007 20:18:48 +0100
Date: 2007-10-23T20:18:48+01:00	[thread overview]
Message-ID: <m2y7dt63mv.fsf@mac.com> (raw)
In-Reply-To: 1193072522.1078.32.camel@kartoffel

Georg Bauhaus <rm.tsoh+bauhaus@maps.futureapps.de> writes:

> On Fri, 2007-10-19 at 12:45 -0700, Mike.McNett wrote:

>> The assertion I get (shown in the debugger) is:
>> ... in system.assertions.raise_assert_failure (msg=(null)) at s-
>> assert.adb:44
>> 44      s-assert.adb: No such file or directory.
>
> (Adding the GNAT source directory (gcc/..../adainclude/)
> to GDBs search path should make the location be known to it.)

It doesn't really matter about s-assert.adb; you're actually
interested in the frame above. In gdb, 'up'. This should take you to
the place where the compiler has inserted a call to
raise_assert_failure -- probably as a result of a pragma Assert?



      parent reply	other threads:[~2007-10-23 19:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-18 18:03 Abstract Interface - Assertion Error Mike.McNett
2007-10-18 22:48 ` Georg Bauhaus
2007-10-19 10:52   ` Mike.McNett
2007-10-19 10:54     ` Mike.McNett
2007-10-19 17:46       ` Georg Bauhaus
2007-10-19 19:28         ` Mike.McNett
2007-10-19 19:45         ` Mike.McNett
2007-10-22 17:02           ` Georg Bauhaus
2007-10-22 18:07             ` Georg Bauhaus
2007-10-23 19:18             ` Simon Wright [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox