From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10371 invoked by alias); 5 Apr 2008 18:54:46 -0000 Received: (qmail 10362 invoked by uid 22791); 5 Apr 2008 18:54:45 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 05 Apr 2008 18:54:26 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 6097C983CF; Sat, 5 Apr 2008 18:54:24 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 0CC91983C5; Sat, 5 Apr 2008 18:54:24 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JiDWx-0003ft-6P; Sat, 05 Apr 2008 14:54:23 -0400 Date: Mon, 07 Apr 2008 08:47:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: Andreas Schwab , gdb@sources.redhat.com Subject: Re: Strangeness in set command Message-ID: <20080405185423.GB13805@caradoc.them.org> Mail-Followup-To: Eli Zaretskii , Andreas Schwab , gdb@sources.redhat.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00055.txt.bz2 On Sat, Apr 05, 2008 at 08:12:43PM +0300, Eli Zaretskii wrote: > Does anyone object to improving the error message to mention "set > variable"? I don't think it will help; it's just luck you got an ambiguity since there are two commands starting with s. You could get any number of other errors, or even silent success. Like: (gdb) set ser.a = 1 Undefined set serial command: ".a = 1". Try "help set serial". (gdb) set args.a = 1 (gdb) show args Argument list to give program being debugged when it is started is ".a = 1". -- Daniel Jacobowitz CodeSourcery