This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Status of Ada support in GDB?
- From: Andreas Jaeger <aj at suse dot de>
- To: gdb at sources dot redhat dot com
- Date: Mon, 24 Feb 2003 09:40:04 +0100
- Subject: Status of Ada support in 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 at suse dot de
private aj at arthur dot inka dot de
http://www.suse.de/~aj