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.50.12.42 with SMTP id v10mr11551002igb.0.1420426373281; Sun, 04 Jan 2015 18:52:53 -0800 (PST) X-Received: by 10.140.23.208 with SMTP id 74mr805qgp.23.1420426373091; Sun, 04 Jan 2015 18:52:53 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!h15no36323030igd.0!news-out.google.com!n9ni77qai.0!nntp.google.com!bm13no3292415qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 4 Jan 2015 18:52:53 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:6:6801:1c30:21b:77ff:fe10:ce4e; posting-account=AvekzAoAAABj-TclKcOWQmXwA49MFPGX NNTP-Posting-Host: 2601:6:6801:1c30:21b:77ff:fe10:ce4e User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: How to do basic debugging with Ada? From: John Smith Injection-Date: Mon, 05 Jan 2015 02:52:53 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 1564 X-Received-Body-CRC: 3404165351 Xref: news.eternal-september.org comp.lang.ada:24353 Date: 2015-01-04T18:52:53-08:00 List-Id: Hello, All the way in the bottom is a simple hello world application. I compile it= using gnatmake hello_world. However, when I load it in gdb and try to set= a breakpoint on the first output line, I get a message saying that the sym= bol table is not loaded. If I'm missing a step, what is it? with Ada.Text_IO; use Ada.Text_IO; procedure hello_world3 is begin Put_Line("Hello, world!"); New_Line; Put_Line("I am an Ada program with package use."); end hello_world3;