forked from qt-creator/qt-creator
Debugger: Fix setting of breakpoint by function name with GDB
Change-Id: Ib6194f9acc575ee089f11da6d1f3689eb7dee9af Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -2073,7 +2073,7 @@ QString GdbEngine::breakpointLocation(const BreakpointParameters &data)
|
||||
if (data.type == BreakpointAtMain)
|
||||
return mainFunction();
|
||||
if (data.type == BreakpointByFunction)
|
||||
return '"' + data.functionName + '"';
|
||||
return "--function \"" + data.functionName + '"';
|
||||
if (data.type == BreakpointByAddress)
|
||||
return addressSpec(data.address);
|
||||
|
||||
|
Reference in New Issue
Block a user