From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29386 invoked by alias); 22 Jun 2005 07:27:14 -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 29357 invoked by uid 22791); 22 Jun 2005 07:27:07 -0000 Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 22 Jun 2005 07:27:07 +0000 Received: from farnswood.snap.net.nz (p219-tnt1.snap.net.nz [202.124.110.219]) by viper.snap.net.nz (Postfix) with ESMTP id 5506D54DA35; Wed, 22 Jun 2005 19:27:04 +1200 (NZST) Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 0A7A062A99; Wed, 22 Jun 2005 08:28:20 +0100 (BST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17081.4881.865930.852121@farnswood.snap.net.nz> Date: Wed, 22 Jun 2005 07:27:00 -0000 To: Daniel Jacobowitz Cc: Jason Molenda , Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: [PATCH] MI error messages In-Reply-To: <20050622033214.GA22609@nevyn.them.org> References: <17077.61587.164352.664225@farnswood.snap.net.nz> <17078.19977.660644.9978@farnswood.snap.net.nz> <20050620135108.GA29453@nevyn.them.org> <17079.14386.484824.134375@farnswood.snap.net.nz> <17079.57494.321274.96102@farnswood.snap.net.nz> <17080.35377.519988.619664@farnswood.snap.net.nz> <4B2E0CF3-987A-41E8-A2B3-0ADD6955DAF7@apple.com> <20050622033214.GA22609@nevyn.them.org> X-SW-Source: 2005-06/txt/msg00348.txt.bz2 > We have a syntax for error messages... let's use it? Are you referring to the return value MI_CMD_ERROR? Interestingly this isn't used at all in mi-cmd-var.c or mi-cmd-stack.c but I think it is more appropriate for the errors generated there. It only goes back to captured_mi_execute_command and doesn't generate any output in the log stream (&"..."). I'm not too keen on procedures with lots of return points though. Nick