From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19604 invoked by alias); 24 Feb 2003 08:40:07 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19597 invoked from network); 24 Feb 2003 08:40:05 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by 172.16.49.205 with SMTP; 24 Feb 2003 08:40:05 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 34512145A0 for ; Mon, 24 Feb 2003 09:40:05 +0100 (MET) To: gdb@sources.redhat.com Subject: Status of Ada support in GDB? From: Andreas Jaeger Date: Mon, 24 Feb 2003 08:40:00 -0000 Message-ID: User-Agent: Gnus/5.090016 (Oort Gnus v0.16) XEmacs/21.4 (Honest Recruiter) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-02/txt/msg00510.txt.bz2 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