From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20675 invoked by alias); 11 Apr 2002 21:17:21 -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 20632 invoked from network); 11 Apr 2002 21:17:16 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 11 Apr 2002 21:17:16 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id OAA03800; Thu, 11 Apr 2002 14:17:13 -0700 (PDT) Message-ID: <3CB5FA8E.BBB64F59@redhat.com> Date: Thu, 11 Apr 2002 14:17:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Florian Weimer CC: gdb@sources.redhat.com Subject: Re: GDB 5.2 vs. Ada (and probably other unknown languages) References: <873cyhaubc.fsf@deneb.enyo.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00176.txt.bz2 Florian Weimer wrote: > > It seems that GDB (starting with 5.1.1 or so) can no longer debug > programs written in languages unknown to it. With previous GDB > versions, you could at least set breakpoints, get backtraces, and > examine most variables, although you had to take name mangling into > account. > > For example, if I try to set a breakpoint in an Ada program, I just > get the error message "internal error - unimplemented function > unk_lang_create_fundamental_type called." That's bad. GDB should not refuse to debug a source file just because it doesn't know the language.