mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Make sure the MIInferior is created before the rxthread.
This commit is contained in:
parent
7250fe4d1a
commit
cd01def532
1 changed files with 5 additions and 3 deletions
|
@ -67,6 +67,9 @@ public class MISession extends Observable {
|
||||||
|
|
||||||
parser = new MIParser();
|
parser = new MIParser();
|
||||||
|
|
||||||
|
// Do this first.
|
||||||
|
inferior = new MIInferior(this);
|
||||||
|
|
||||||
txQueue = new CommandQueue();
|
txQueue = new CommandQueue();
|
||||||
rxQueue = new CommandQueue();
|
rxQueue = new CommandQueue();
|
||||||
eventQueue = new Queue();
|
eventQueue = new Queue();
|
||||||
|
@ -79,10 +82,9 @@ public class MISession extends Observable {
|
||||||
rxThread.start();
|
rxThread.start();
|
||||||
eventThread.start();
|
eventThread.start();
|
||||||
|
|
||||||
inferior = new MIInferior(this);
|
// Disable a certain number of irritations from gdb.
|
||||||
|
// Like confirmation and screen size.
|
||||||
try {
|
try {
|
||||||
// Disable a certain number of irritations from gdb.
|
|
||||||
// Like confirmation and screen size.
|
|
||||||
MIInfo info;
|
MIInfo info;
|
||||||
|
|
||||||
MIGDBSet confirm = new MIGDBSet(new String[]{"confirm", "off"});
|
MIGDBSet confirm = new MIGDBSet(new String[]{"confirm", "off"});
|
||||||
|
|
Loading…
Add table
Reference in a new issue