This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add "del" as alias to "delete"
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 5 May 2006 16:22:35 -0400
- Subject: Re: [RFA] Add "del" as alias to "delete"
- References: <20060406162400.GK1055@adacore.com> <20060406163009.GA29559@nevyn.them.org> <20060406183733.GB800@adacore.com>
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