From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8111 invoked by alias); 8 May 2003 17:55:37 -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 8102 invoked from network); 8 May 2003 17:55:36 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 8 May 2003 17:55:36 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id B73DCD34B8; Thu, 8 May 2003 10:55:30 -0700 (PDT) Date: Thu, 08 May 2003 17:55:00 -0000 From: Joel Brobecker To: Elena Zannoni Cc: Daniel Berlin , gdb-patches@sources.redhat.com Subject: Re: [RFA] Add new language: "unsupported" Message-ID: <20030508175530.GS5349@gnat.com> References: <20030507014231.GA3156@gnat.com> <16057.17185.314587.221650@localhost.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16057.17185.314587.221650@localhost.redhat.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-05/txt/msg00120.txt.bz2 > > It should probably warn (I guess it has to be in the reader, since we > > have no hook for when you switch to a language, right?) when it is > > switching to the unsupported language. > > > > Something like "Warning: The current language is unsupported by GDB. > > Name lookups and printouts may not look like what you expect as a > > result". > > that's not a bad idea, actually. This must be the lawyer talking :-) I can place a warning in set_language(). But I think the warning should only be printed once. Opinions? I'm also wondering how useful such a warning is going to be. I think that the new language name, "minimal", is pretty clear as to what capabilities it provides (or doesn't thereof)... Since GDB clearly prints the new language name when auto-switching, I don't think there is any risk of confusion anymore. -- Joel