This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Meaning of "Builds libada directory"


On Thursday 07 October 2004 08:42, Paul N. Hilfinger wrote:
> 
> > Here's a data point: if I compile using gnat 3.15p, then CVS gdb correctly
> > sets the language to Ada.  If I compile using gcc from CVS (pre-ssa tag),
> > then it sets the language to minimal.
> > 
> 
> Hmm.  Haven't seen this, but then I don't use that compiler.  I shall inquire.
> Just out of curiosity, if you stop somewhere in Ada source, what language
> do you see?

minimal:

$ gdb ./x
GNU gdb 6.2.50_2004-10-06-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) break x.adb:5
Breakpoint 1 at 0x8049d02: file x.adb, line 5.
(gdb) run
Starting program: /home/duncan/tmp/x

Breakpoint 1, _ada_x () at x.adb:5
5          L : constant Float := 1.0;
Current language:  auto; currently minimal
(gdb)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]