Commit c6bee7e2 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger/GDB: Use short paths for breakpoints on UNIX.



Breakpoints by path are not hit if the path traverses
symbolic links.

Change-Id: I3ab5d1bead8333986444aec709c940840dfddbb4
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 3cafcba1
......@@ -2553,6 +2553,10 @@ BreakpointPathUsage GdbEngine::defaultEngineBreakpointPathUsage() const
// the source path isn't canonical
if (m_gdbVersion < 70300)
return BreakpointUseShortPath;
// Use short path for file systems with symbolic links. On Windows, main.cpp
// is potentially ambiguous (ANGLE, DLL).
if (startParameters().toolChainAbi.os() != ProjectExplorer::Abi::WindowsOS)
return BreakpointUseShortPath;
//don't set absolute breakpoints for remote targets
switch (startMode()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment