From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e8ed21e11160bf2f X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news.germany.com!multikabel.net!feed20.multikabel.net!news2.euro.net!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Abstract Interface - Assertion Error Date: Tue, 23 Oct 2007 20:18:48 +0100 Organization: Pushface Message-ID: References: <1192730634.890947.17190@e9g2000prf.googlegroups.com> <1192747730.7885.2.camel@K72> <1192791172.611781.102970@e9g2000prf.googlegroups.com> <1192791280.586457.18280@q3g2000prf.googlegroups.com> <4718ed6e$0$16103$9b4e6d93@newsspool1.arcor-online.net> <1192823107.966998.188490@i38g2000prf.googlegroups.com> <1193072522.1078.32.camel@kartoffel> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1193167125 24771 62.49.19.209 (23 Oct 2007 19:18:45 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Tue, 23 Oct 2007 19:18:45 +0000 (UTC) Cancel-Lock: sha1:FkP5Jew0ut3LcKvTcSXrr7icwPE= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Xref: g2news2.google.com comp.lang.ada:2557 Date: 2007-10-23T20:18:48+01:00 List-Id: Georg Bauhaus 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?