Commit e7187572 authored by hjk's avatar hjk
Browse files

debugger: fix 'info line' call

parent e8e37ab7
...@@ -2475,7 +2475,7 @@ void GdbEngine::attemptBreakpointSynchronization() ...@@ -2475,7 +2475,7 @@ void GdbEngine::attemptBreakpointSynchronization()
data->bpEnabled = false; data->bpEnabled = false;
continue; continue;
} }
if (!data->bpAddress.isEmpty() if (data->bpAddress.startsWith("0x")
&& data->bpCorrectedLineNumber.isEmpty()) { && data->bpCorrectedLineNumber.isEmpty()) {
// Prevent endless loop. // Prevent endless loop.
data->bpCorrectedLineNumber = " "; data->bpCorrectedLineNumber = " ";
......
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