From: Andreas Jaeger <aj@suse.de>
To: gdb@sources.redhat.com
Subject: Status of Ada support in GDB?
Date: Mon, 24 Feb 2003 08:40:00 -0000 [thread overview]
Message-ID: <howujqqdgb.fsf@byrd.suse.de> (raw)
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
next reply other threads:[~2003-02-24 8:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-24 8:40 Andreas Jaeger [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=howujqqdgb.fsf@byrd.suse.de \
--to=aj@suse.de \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox