Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Status of Ada support in GDB?
@ 2003-02-24  8:40 Andreas Jaeger
  2003-02-24 17:50 ` Joel Brobecker
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Jaeger @ 2003-02-24  8:40 UTC (permalink / raw)
  To: gdb


Trying to debug some Ada problems in GCC I noticed that GDB comes with
Ada support files but does not link them at all, they just seem to be
there for cosmetic :-(

I made some patches to link those files into GDB but still cannot
debug Ada.

So, I have two questions:
- are you interested in my fixes for compilation and/or adding Ada to
  the makefile?

- does anybody care at all about Ada support in GDB?  Since it's
  disabled, I don't see how anybody can use it...


FYI - I'm still fighting with unk_lang_create_fundamental_type, even
if I use set language ada:

$ /usr/src/aj/GDB/build/gdb/gdb ../../gnatmake 
A handler for the OS ABI "GNU/Linux" is not built into this configuration of GDB.  Attempting to continue with the default i386 settingsGNU gdb 2003-02-24-cvs
Copyright 2003 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 "x86_64-unknown-linux-gnu"...
(gdb) r -c -I../rts -I. -I/cvs/gcc-hammer-3_3-branch/gcc/ada gnatchop --GCC="../../xgcc -B../../ -g      -gnatpg -gnata"
Starting program: /usr/src/aj/build/gcc/misc/gcc/gnatmake -c -I../rts -I. -I/cvs/gcc-hammer-3_3-branch/gcc/ada gnatchop --GCC="../../xgcc -B../../ -g      -gnatpg -gnata"
internal error - unimplemented function unk_lang_create_fundamental_type called.
(gdb) bt
internal error - unimplemented function unk_lang_create_fundamental_type called.
(gdb) set language 
The currently understood settings are:

local or auto    Automatic setting based on source file
ada              Use the Ada language
c                Use the C language
c++              Use the C++ language
asm              Use the Asm language
fortran          Use the Fortran language
java             Use the Java language
modula-2         Use the Modula-2 language
pascal           Use the Pascal language
scheme           Use the Scheme language
(gdb) r
Starting program: /usr/src/aj/build/gcc/misc/gcc/gnatmake -c -I../rts -I. -I/cvs/gcc-hammer-3_3-branch/gcc/ada gnatchop --GCC="../../xgcc -B../../ -g      -gnatpg -gnata"
internal error - unimplemented function unk_lang_create_fundamental_type called.
(gdb) show language 
The current source language is "ada".


Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-25 21:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-24  8:40 Status of Ada support in GDB? Andreas Jaeger
2003-02-24 17:50 ` Joel Brobecker
2003-02-24 19:24   ` Andreas Jaeger
2003-02-25 21:31     ` Joel Brobecker
2003-02-25 21:39       ` Andrew Cagney
2003-02-24 22:46   ` Stephane Carrez

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