mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-15 21:15:23 +02:00
![]() 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
(cherry picked from commit
|
||
---|---|---|
.. | ||
org.eclipse.cdt.llvm.dsf.lldb-feature | ||
org.eclipse.cdt.llvm.dsf.lldb.core | ||
org.eclipse.cdt.llvm.dsf.lldb.ui | ||
org.eclipse.cdt.managedbuilder.llvm-feature | ||
org.eclipse.cdt.managedbuilder.llvm.tests | ||
org.eclipse.cdt.managedbuilder.llvm.ui |