comp.lang.ada
 help / color / mirror / Atom feed
From: "Ricardo Brandão" <rbrandao.br@gmail.com>
Subject: Re: No symbol table loaded - GNAT Community 2019
Date: Tue, 4 Jun 2019 09:12:38 -0700 (PDT)
Date: 2019-06-04T09:12:38-07:00	[thread overview]
Message-ID: <6653446f-efea-4c43-9375-1a57d0503502@googlegroups.com> (raw)
In-Reply-To: <87d6c4b4-0d47-4744-aaf3-194494de62d3@googlegroups.com>

Hi Ahn Vo

> Check your project file. It is a text file with .gpr extension. This file should contain it if it is specified.
> 

This is the content of my gpr file

project Sdc is

   for Languages use ("ada");
   for Source_Dirs use ("common", "struct");
   for Main use ("sdc.adb");
   type Build_Type is
      ("PRODUCTION", "DEBUG");
   Build : Build_Type := external ("Build", "DEBUG");
   for Object_Dir use "obj";

   package Compiler is
      case Build is
         when "DEBUG" =>
            for Switches ("ada") use ("-gnatwe", "-gnaty", "-gnato", "-g");
            for Switches ("screen_output.adb") use ("-gnatwe", "-gnaty", "-g");

         when "PRODUCTION" =>
            for Switches ("ada") use ("-O2", "-gnatn", "-gnatwe", "-gnaty", "-gnatp");
      end case;
   end Compiler;

   package Builder is
      case Build is
         when "DEBUG" =>
            for Switches ("ada") use ("-g");

         when "PRODUCTION" =>
            for Switches ("ada") use ();
      end case;
   end Builder;

   package Binder is
      for Switches ("ada") use ("-static");
   end Binder;

   package CodePeer is
      for Switches use ("-level", "3");
   end CodePeer;

end Sdc;

As I could noticed the -g option is there. Even though I did not change it. Is the same that came with GPS installation.

The mystery is why gdb could not load the symbol table

Thanks

--
Ricardo Brandao 

  reply	other threads:[~2019-06-04 16:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-03  2:38 No symbol table loaded - GNAT Community 2019 Ricardo Brandão
2019-06-04 11:26 ` alby.gamper
2019-06-04 14:52   ` Ricardo Brandão
2019-06-04 15:42     ` Anh Vo
2019-06-04 16:12       ` Ricardo Brandão [this message]
2019-06-04 17:21         ` Anh Vo
2019-06-04 19:13           ` Ricardo Brandão
2019-06-04 15:46     ` J-P. Rosen
2019-06-09 14:12 ` Ricardo Brandão
2019-06-09 15:26   ` Anh Vo
replies disabled

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