comp.lang.ada
 help / color / mirror / Atom feed
From: John Smith <yoursurrogategod@gmail.com>
Subject: How to do basic debugging with Ada?
Date: Sun, 4 Jan 2015 18:52:53 -0800 (PST)
Date: 2015-01-04T18:52:53-08:00	[thread overview]
Message-ID: <cdd98247-e9d6-49cf-87af-8d97d0c99f4d@googlegroups.com> (raw)

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 symbol 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;


             reply	other threads:[~2015-01-05  2:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-05  2:52 John Smith [this message]
2015-01-05  3:41 ` How to do basic debugging with Ada? Hubert
2015-01-05  3:43 ` brbarkstrom
2015-01-05  8:06 ` Simon Wright
2015-01-08  3:40   ` John Smith
2015-01-05  9:15 ` jsquirek
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox