This is the mail archive of the cygwin-patches mailing list for the Cygwin 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: [PATCH] Expand $CYGWIN error_start processing

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/ 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/ | 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)


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