From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31570 invoked by alias); 21 Apr 2002 17:50:31 -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 31563 invoked from network); 21 Apr 2002 17:50:30 -0000 Received: from unknown (HELO mail.enyo.de) (212.9.189.162) by sources.redhat.com with SMTP; 21 Apr 2002 17:50:30 -0000 Received: from [212.9.189.171] (helo=deneb.enyo.de) by mail.enyo.de with esmtp (Exim 3.34 #2) id 16zLTi-000816-00; Sun, 21 Apr 2002 19:50:22 +0200 Received: from fw by deneb.enyo.de with local (Exim 3.34 #4) id 16zLTf-0005TJ-00; Sun, 21 Apr 2002 19:50:19 +0200 To: Per Bothner Cc: Michael Snyder , gdb@sources.redhat.com Subject: Re: GDB 5.2 vs. Ada (and probably other unknown languages) References: <873cyhaubc.fsf@deneb.enyo.de> <3CB5FA8E.BBB64F59@redhat.com> <3CB60006.3030602@bothner.com> From: Florian Weimer Date: Sun, 21 Apr 2002 10:50:00 -0000 In-Reply-To: <3CB60006.3030602@bothner.com> (Per Bothner's message of "Thu, 11 Apr 2002 14:28:38 -0700") Message-ID: <87662l7xgk.fsf@deneb.enyo.de> User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-04/txt/msg00347.txt.bz2 Per Bothner writes: > Michael Snyder wrote: >> That's bad. GDB should not refuse to debug a source file just >> because it doesn't know the language. > > Could you try this patch: > > * language.c (unk_lang_create_fundamental_type): Remove. > (unknown_language_defn, auto_language_defn, local_language_defn): > In place of unk_lang_create_fundamental_type use > c_create_fundamental_type. Thanks, it seems to work, at least I can set breakpoints now and access variables (with suitable type casts, of course).