From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30683 invoked by alias); 1 Apr 2008 02:09:02 -0000 Received: (qmail 30533 invoked by uid 22791); 1 Apr 2008 02:09:01 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Apr 2008 02:08:35 +0000 Received: from kahikatea.snap.net.nz (30.31.255.123.static.snap.net.nz [123.255.31.30]) by viper.snap.net.nz (Postfix) with ESMTP id F2A973D9FD9; Tue, 1 Apr 2008 15:08:27 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 506738FC6D; Tue, 1 Apr 2008 14:08:24 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18417.39191.771661.246135@kahikatea.snap.net.nz> Date: Tue, 01 Apr 2008 13:17:00 -0000 To: Pedro Alves Cc: gdb-patches@sourceware.org, Vladimir Prus , gdb-patches@sources.redhat.com Subject: Re: cleanup mi error message handling In-Reply-To: <200804010118.22536.pedro@codesourcery.com> References: <200803241830.11759.pedro@codesourcery.com> <200803301005.39285.ghost@cs.msu.su> <18416.13342.147430.549879@kahikatea.snap.net.nz> <200804010118.22536.pedro@codesourcery.com> X-Mailer: VM 7.19 under Emacs 22.1.92.3 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00004.txt.bz2 > > Other errors like: > > > > (gdb) > > -interpreter-exec > > ^error,msg="mi_cmd_interpreter_exec: Usage: -interpreter-exec interp > > command" (gdb) > > > > would be due to a frontend error, so I think it would be probably be best > > to display them elsewhare, e.g., status bar. > > > > I think the screen should flash and beep three times, and an email > should be automatically sent the the frontend author :-) Seriously, > the status bar doesn't feel right for this. This is not status. Please don't take the status bar example too literally, it was just the first place I thought of, and is not the focus of my message. To get a meaningful report probably requires full logging of all the transactions anyway, which is what I do for Emacs. In any case I've already surrendered on this issue. Please redirect any frontend errors using Gdb in Emacs reported on this list to emacs-devel ;-) Thanks. -- Nick http://www.inet.net.nz/~nickrob From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29455 invoked by alias); 1 Apr 2008 02:08:57 -0000 Received: (qmail 29219 invoked by uid 22791); 1 Apr 2008 02:08:56 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Apr 2008 02:08:30 +0000 Received: from kahikatea.snap.net.nz (30.31.255.123.static.snap.net.nz [123.255.31.30]) by viper.snap.net.nz (Postfix) with ESMTP id F2A973D9FD9; Tue, 1 Apr 2008 15:08:27 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 506738FC6D; Tue, 1 Apr 2008 14:08:24 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18417.39191.771661.246135@kahikatea.snap.net.nz> Date: Tue, 01 Apr 2008 03:28:00 -0000 To: Pedro Alves Cc: gdb-patches@sourceware.org, Vladimir Prus , gdb-patches@sources.redhat.com Subject: Re: cleanup mi error message handling In-Reply-To: <200804010118.22536.pedro@codesourcery.com> References: <200803241830.11759.pedro@codesourcery.com> <200803301005.39285.ghost@cs.msu.su> <18416.13342.147430.549879@kahikatea.snap.net.nz> <200804010118.22536.pedro@codesourcery.com> X-Mailer: VM 7.19 under Emacs 22.1.92.3 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00003.txt.bz2 Message-ID: <20080401032800.l4nxWHrxc3gd96kryZpMt06xdgf4QAUKAzOgunywifI@z> > > Other errors like: > > > > (gdb) > > -interpreter-exec > > ^error,msg="mi_cmd_interpreter_exec: Usage: -interpreter-exec interp > > command" (gdb) > > > > would be due to a frontend error, so I think it would be probably be best > > to display them elsewhare, e.g., status bar. > > > > I think the screen should flash and beep three times, and an email > should be automatically sent the the frontend author :-) Seriously, > the status bar doesn't feel right for this. This is not status. Please don't take the status bar example too literally, it was just the first place I thought of, and is not the focus of my message. To get a meaningful report probably requires full logging of all the transactions anyway, which is what I do for Emacs. In any case I've already surrendered on this issue. Please redirect any frontend errors using Gdb in Emacs reported on this list to emacs-devel ;-) Thanks. -- Nick http://www.inet.net.nz/~nickrob