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 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.95.68 with SMTP id di4mr13153637obb.4.1392054001314; Mon, 10 Feb 2014 09:40:01 -0800 (PST) X-Received: by 10.140.109.244 with SMTP id l107mr26944qgf.28.1392054001275; Mon, 10 Feb 2014 09:40:01 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!c10no15773423igq.0!news-out.google.com!y18ni7383qap.1!nntp.google.com!k15no16086890qaq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 10 Feb 2014 09:40:01 -0800 (PST) In-Reply-To: <5384e37a-764a-4368-8834-0de4c7d7998c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=199.64.72.254; posting-account=WsVe0AoAAABheGmBjlLgPWhgIw6kxcL6 NNTP-Posting-Host: 199.64.72.254 References: <5384e37a-764a-4368-8834-0de4c7d7998c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8ee204c5-bcb0-440a-9bcb-831ceffb6396@googlegroups.com> Subject: Re: Debugging Problem with Gnatbench under Eclipse From: john@assen.demon.co.uk Injection-Date: Mon, 10 Feb 2014 17:40:01 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:18475 Date: 2014-02-10T09:40:01-08:00 List-Id: On Monday, 11 November 2013 02:27:12 UTC, Fritz von Braun wrote: > I installed the latest Eclipse 32 bit version, the CDT tools and Gnatbenc= h just as described. I created a small Hello World program which compiles a= nd runs just fine. But when I try to start it under the Eclipse GDB debugge= r I get the following error: >=20 > Error in final launch sequence > Failed to execute MI command: > -data-evaluate-expression "sizeof (void*)" > Error message from debugger back end: > No definition of "sizeof" in current context. > No definition of "sizeof" in current context. Hi Fritz, I just wondered if you'd ever found a solution to this that doesn't involve= going external to Eclipse's debugging facilities. I'm intending to present= a very brief summary of Ada's facilities for defining representations to a= bunch of uninterested C++ programmers and would like to show them the diff= erence between, e.g., a record with and without its representation defined = by stepping through and showing the changes to the object in memory. It wou= ld be nice to do this in Eclipse as I'm familiar with that, and it's pretty= , but I suppose I could do it in GPS if I could find a way of having multip= le memory views that update automatically! All the best John