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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.20.100 with SMTP id m4mr9083791pae.36.1384136833024; Sun, 10 Nov 2013 18:27:13 -0800 (PST) X-Received: by 10.50.138.197 with SMTP id qs5mr238480igb.7.1384136832842; Sun, 10 Nov 2013 18:27:12 -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!feeds.phibee-telecom.net!feeder.erje.net!us.feeder.erje.net!news.snarked.org!newsfeed.news.ucla.edu!usenet.stanford.edu!z6no6220062pbz.1!news-out.google.com!9ni19861qaf.0!nntp.google.com!i2no19991773qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 10 Nov 2013 18:27:12 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.170.151.58; posting-account=LQvWUwoAAAC2fAAUai_NwW1sjmq1fG19 NNTP-Posting-Host: 76.170.151.58 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5384e37a-764a-4368-8834-0de4c7d7998c@googlegroups.com> Subject: Debugging Problem with Gnatbench under Eclipse From: Fritz von Braun Injection-Date: Mon, 11 Nov 2013 02:27:12 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:17603 Date: 2013-11-10T18:27:12-08:00 List-Id: Hello, I am new to Ada, Eclipse and newsgroups so I may just make some dumb mistake here, but I cant figure out how to correct this, I searched the web over and over but could not find any help with this problem. I installed the latest Eclipse 32 bit version, the CDT tools and Gnatbench just as described. I created a small Hello World program which compiles and runs just fine. But when I try to start it under the Eclipse GDB debugger I get the following error: 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. Debugging a C++ program in Eclipse works. I tried all sorts of combination with the Debugging configurations offered when starting Ada debugging but they all create the same error. Any help would be appreciated Thanks