[RFA/RFC] Problem with '!' escaping with zsh/bash/ksh
Andrew Cagney
ac131313@redhat.com
Thu May 22 17:50:00 GMT 2003
> Andrew,
>
> On Mon, May 05, 2003 at 03:29:51PM -0400, Andrew Cagney wrote:
>
>> Joel, testcase?
>>
>> I was going to suggest gdb.base/args.exp but someone's already added that.
>> Consider an addition to that existing test case pre-approved (and any
>> other evil combinations you come up with).
>
>
> Coming back to this message, I am not sure I understand what you were
> suggesting, do you remember? As far as I can tell, args.exp verifies
> that all arguments are correctly passed to the inferior.
>
> In our case, the '!' character was escaped in the executable name, but
> not in the args (ie the args were left alone). So adding an extra test
> for arguments containing '!' is fine, but not relevant to the issue at
> hand.
Ah!
> At this point, I am considering the addition of a new test case, which
> would basically:
>
> - compile args.c
> - copy args to bang!
> - gdb bang!
> - run
>
> The problem is that this test should work fine on Unix machines
> but I am guessing that this won't work so well on Windows boxes for
> instance.
If it's found to not work then it can be disabled on that system.
> What do you think?
Yep, sounds good.
Andrew
More information about the Gdb-patches
mailing list