From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12759 invoked by alias); 7 May 2003 18:10:54 -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 12706 invoked from network); 7 May 2003 18:10:51 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 7 May 2003 18:10:51 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id D8049D34B8; Wed, 7 May 2003 11:10:46 -0700 (PDT) Date: Wed, 07 May 2003 18:10: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: <20030507181046.GF5349@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/msg00089.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 way, nobody files bugs because the unsupported language does what > > C would do, when they expect what would do. > > that's not a bad idea, actually. This must be the lawyer talking :-) Ok, I'll do that, but that'll be a separate patch. -- Joel