debugger: fix 'info line' call

This commit is contained in:
hjk
2010-03-26 15:22:20 +01:00
parent e8e37ab7e1
commit e718757208

View File

@@ -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 = " ";