[PATCH] Expand $CYGWIN error_start processing
Ray Donnelly
mingw.android@gmail.com
Sun Feb 9 00:26:00 GMT 2014
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
error_start:C:/Qt/bin/qtcreator.exe|-debug|<process-id>
.. 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(-)
--
1.8.5.4
More information about the Cygwin-patches
mailing list