This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]