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 2002:a24:218a:: with SMTP id e132mr24153828ita.77.1559664759174; Tue, 04 Jun 2019 09:12:39 -0700 (PDT) X-Received: by 2002:aca:5fd5:: with SMTP id t204mr2698070oib.0.1559664758646; Tue, 04 Jun 2019 09:12:38 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.215.MISMATCH!g15no71291itd.0!news-out.google.com!l135ni197itc.0!nntp.google.com!i64no216293iti.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 4 Jun 2019 09:12:38 -0700 (PDT) In-Reply-To: <87d6c4b4-0d47-4744-aaf3-194494de62d3@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=201.47.125.127; posting-account=1Xv-6QoAAACDoVuHxsOQybzr2Y_PgwKz NNTP-Posting-Host: 201.47.125.127 References: <5be2c715-6f02-426f-b046-ceea3ed986c0@googlegroups.com> <38986c0b-ef12-4d3d-bbc9-818c1b14d8ef@googlegroups.com> <87d6c4b4-0d47-4744-aaf3-194494de62d3@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6653446f-efea-4c43-9375-1a57d0503502@googlegroups.com> Subject: Re: No symbol table loaded - GNAT Community 2019 From: =?UTF-8?Q?Ricardo_Brand=C3=A3o?= Injection-Date: Tue, 04 Jun 2019 16:12:39 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:56470 Date: 2019-06-04T09:12:38-07:00 List-Id: 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