From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14115 invoked by alias); 23 Apr 2003 00:04:15 -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 14108 invoked from network); 23 Apr 2003 00:04:15 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (209.53.16.215) by sources.redhat.com with SMTP; 23 Apr 2003 00:04:15 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id C9D51D34B8; Tue, 22 Apr 2003 17:04:13 -0700 (PDT) Date: Wed, 23 Apr 2003 00:04:00 -0000 From: Joel Brobecker To: Elena Zannoni Cc: Daniel Jacobowitz , gdb-patches@sources.redhat.com Subject: Re: [RFA/DWARF2] Fallback unknown language to C Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16021.45908.63160.331637@localhost.redhat.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-04/txt/msg00419.txt.bz2 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? -- Joel