Re: [RFA] Add "del" as alias to "delete"

Daniel Jacobowitz
2006-05-05T20:22:40Z

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