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,d001ea725a439db2 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!c29g2000yqd.googlegroups.com!not-for-mail From: MRE Newsgroups: comp.lang.ada Subject: Re: XMLAda and GDB on Lion anybody? Date: Thu, 18 Aug 2011 00:22:14 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8e382e9f-41af-42ec-a390-2009f7331c75@c29g2000yqd.googlegroups.com> References: NNTP-Posting-Host: 84.182.220.27 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1313652134 6722 127.0.0.1 (18 Aug 2011 07:22:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 18 Aug 2011 07:22:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c29g2000yqd.googlegroups.com; posting-host=84.182.220.27; posting-account=9oKlagoAAAArpDKc-z70x-nwdNs7Rw_P User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:6.0) Gecko/20100101 Firefox/6.0,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:21643 Date: 2011-08-18T00:22:14-07:00 List-Id: On 6 Aug., 19:26, Simon Wright wrote: > MRE writes: > > I am experimenting with XMLAda, following AdaCore's manual. > > > When running the example given on pages 22 and 23 (DomExample2), I get > > the following exception: > > > raised CONSTRAINT_ERROR : dom-core-nodes.adb:237 access check failed > > How have you got on? Hi all! Thanks for the quick and very helpful response. My first problem got solved rather easily. Almost embarassing, I played with the example and forgot to put the commands back in the right order, so I tried to access a structure I had freed earslier. Regarding the GDB, adding "-Wl,-no_pie" to the Linker-Section in the project file helped. Thanks again! Regards, Marc