[PATCH] Expand $CYGWIN error_start processing
Sun Feb 9 20:33:00 GMT 2014
On Sun, Feb 09, 2014 at 12:25:40AM +0000, Ray Donnelly wrote:
>I want to use QtCreator as my debugger but the hardcoded
>nature of error_start makes that impossible.
>This change allows a formatted commandline to be used where
>'|' is used to represent spaces and <program-name> and
><process-id> are special tokens.
>In my case, I set my CYGWIN env. var to
>.. note, QtCreator doesn't work if passed the program name
>and must be invoked with the -debug option.
>Ray Donnelly (1):
> * winsup/cygwin/exceptions.cc: Expand $CYGWIN error_start
> processing so that custom commandlines can be passed to
> the debugger program using '|' as an argument delimiter
> and <program-name> and <process-id> as special tokens.
> winsup/cygwin/exceptions.cc | 50 +++++++++++++++++++++++++++++++++++++++++----
> 1 file changed, 46 insertions(+), 4 deletions(-)
Thanks for the patch but adding a new argument delimiter or way to quote
is not something that I'm too keen on.
I have just added, in CVS, the ability to do this:
set CYGWIN=error_start="blah whatever \"more stuff'" and more"
(The above is CMD quoting style of course)
More information about the Cygwin-patches