1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
cdt/launch
Marc Dumais 7f6e7f8c9b Bug 510615 - Launch dialog, handle spaces in gdb path
The path to GDB is set in the launch dialog, under the Debugger tab. If
the path to GDB contains one or more spaces, and is not within double
quotes, GDB will not be found and the launch will fail. 

This patch improves the use cases around the "Browse" button, to select
GDB's path. 

1) if the user clicks on the "Browse" button, the browse dialog will
open in the correct place, no matter the presence of space(s).
2) When GDB's path is selected with the "Browse" button, it's then set
in the "GDB debugger" field. This patch looks at the selected path and
adds surrounding double quotes if there is any space within, and strips
any double quotes if there are no spaces. 


Change-Id: I202f574772965af3a491d449b9e9a97e8c61e2b0
2017-02-07 09:48:23 -05:00
..
org.eclipse.cdt.docker.launcher Bug 510615 - Launch dialog, handle spaces in gdb path 2017-02-07 09:48:23 -05:00
org.eclipse.cdt.docker.launcher-feature Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.launch Add missing strings for Run launch delegate. 2017-01-26 11:23:56 -05:00