mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
[302927] Only accumulate ou-of-band records when we are waiting for a command to be answered by GDB
This commit is contained in:
parent
1c340e9193
commit
2458f95117
1 changed files with 6 additions and 4 deletions
|
@ -859,11 +859,13 @@ public abstract class AbstractMIControl extends AbstractDsfService
|
||||||
} else if (recordType == MIParser.RecordType.OOBRecord) {
|
} else if (recordType == MIParser.RecordType.OOBRecord) {
|
||||||
// Process OOBs
|
// Process OOBs
|
||||||
final MIOOBRecord oob = fMiParser.parseMIOOBRecord(line);
|
final MIOOBRecord oob = fMiParser.parseMIOOBRecord(line);
|
||||||
|
if (!fRxCommands.isEmpty()) {
|
||||||
|
// This is for CLI commands, so only store if we are actually
|
||||||
|
// waiting for a command reply
|
||||||
fAccumulatedOOBRecords.add(oob);
|
fAccumulatedOOBRecords.add(oob);
|
||||||
|
}
|
||||||
final MIOutput response = new MIOutput(oob);
|
final MIOutput response = new MIOutput(oob);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* OOBS are events. So we pass them to any event listeners who want to see them. Again this must
|
* OOBS are events. So we pass them to any event listeners who want to see them. Again this must
|
||||||
* be done on the DSF thread for integrity.
|
* be done on the DSF thread for integrity.
|
||||||
|
|
Loading…
Add table
Reference in a new issue