From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3914 invoked by alias); 23 Apr 2003 00:52:05 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 3902 invoked from network); 23 Apr 2003 00:52:04 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 23 Apr 2003 00:52:04 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h3N0q4D05763 for ; Tue, 22 Apr 2003 20:52:04 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h3N0q4q25118 for ; Tue, 22 Apr 2003 20:52:04 -0400 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h3N0q3k28136; Tue, 22 Apr 2003 20:52:03 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 5997E2C438; Tue, 22 Apr 2003 20:56:35 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16037.58561.311056.930258@localhost.redhat.com> Date: Wed, 23 Apr 2003 00:52:00 -0000 To: Joel Brobecker Cc: Elena Zannoni , Daniel Jacobowitz , gdb-patches@sources.redhat.com Subject: Re: [RFA/DWARF2] Fallback unknown language to C In-Reply-To: <20030423000413.GH2402@gnat.com> References: <20030312014415.GE958@gnat.com> <20030312145855.GA2699@nevyn.them.org> <16014.1427.560745.693806@localhost.redhat.com> <20030404222511.GA18770@nevyn.them.org> <16021.45908.63160.331637@localhost.redhat.com> <20030423000413.GH2402@gnat.com> X-SW-Source: 2003-04/txt/msg00422.txt.bz2 Joel Brobecker writes: > Elena, > > > I would prefer to have the partial language support. Joel, any chance > > you could be bribed into doing it? I think all it would be needed is > > to create a new language vector and copy/rename some of the > > c-functions into it. > > I had a quicky look and I think it should be pretty simple. However, I > am not sure this is what you had in mind. Here is what I think might > work: > > - Add a new language in defs.h (``language_partial''?) > - in c-lang.c: Create a new language vector. It seems that making this > vector close to identical to the C or Asm language vector should be > good enough. > > Once this is done and integrated, we can then update dwarf2read.c to > set the language to partial instead of unknown. > > Does it correspond to what you were thinking? Yes, perfect! elena > -- > Joel