From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32351 invoked by alias); 5 May 2006 20:22:40 -0000 Received: (qmail 32341 invoked by uid 22791); 5 May 2006 20:22:39 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 05 May 2006 20:22:37 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Fc6ot-0001Q4-Gv; Fri, 05 May 2006 16:22:35 -0400 Date: Fri, 05 May 2006 20:22:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Add "del" as alias to "delete" Message-ID: <20060505202235.GV31029@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sources.redhat.com References: <20060406162400.GK1055@adacore.com> <20060406163009.GA29559@nevyn.them.org> <20060406183733.GB800@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060406183733.GB800@adacore.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00100.txt.bz2 On Thu, Apr 06, 2006 at 11:37:33AM -0700, Joel Brobecker wrote: > Attached is a first attempt. I ended up writing a new testcase for it, > so we can collect all aliases of "delete" in that testcase. Hope it was > ok. This testcase causes 1 FAIL without the patch above. This testcase is OK, if you want to commit it. There's also a "d" alias, if you want to test that too - although it's already covered by "help d" in help.exp, which I updated today. > I have a question: How can we test that GDB didn't return any output > from the command? "" seems to match anything... You can't really. We've talked about anchoring patters to the beginning of the output, but it's a little tricky to do, and would probably require changing lots of tests - a project for some other rainier day. -- Daniel Jacobowitz CodeSourcery