From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22037 invoked by alias); 14 Feb 2006 01:30:41 -0000 Received: (qmail 22027 invoked by uid 22791); 14 Feb 2006 01:30:41 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 14 Feb 2006 01:30:39 +0000 Received: from kahikatea.snap.net.nz (p202-124-115-197.snap.net.nz [202.124.115.197]) by viper.snap.net.nz (Postfix) with ESMTP id C04FF741403; Tue, 14 Feb 2006 14:30:33 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id E104E8890; Tue, 14 Feb 2006 14:29:33 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17393.12925.270558.512941@kahikatea.snap.net.nz> Date: Tue, 14 Feb 2006 01:30:00 -0000 To: "Bjarke Viksoe" Cc: gdb@sourceware.org Subject: RE: MI error msgs and localization In-Reply-To: References: <17391.40721.926885.140030@kahikatea.snap.net.nz> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00128.txt.bz2 > >These messages appear to be part of the CLI output intended for the user > >and not MI. It seems natural to translate them. > > I really don't agree at all. Very few output in MI mode is/should be > intended for users only. You have got get past the stage where you think of > the front-end as a "dumb automated shell" and into thinking "integrated > environment with user friendly error messages". Preferrably these messages > should have been streamed out as a MI result-records. I would guess that most of time GDB is used from the command line where there is simply no front-end, dumb or otherwise. > I translate "No symbol table loaded..." into asking the user to switch to > debug-mode in my tool. "Unrecognized option" pop ups that the GDB version is > too old, reinstall needed. The error message "Unrecognized option" is not intended to provide information about the GDB version. If you want to use it for that purpose, thats your choice, but you can hardly expect the GDB community to "support" that feature. Nick