1
0
Fork 0
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:
Alain Magloire 2002-08-27 03:49:08 +00:00
parent 7250fe4d1a
commit cd01def532

View file

@ -67,6 +67,9 @@ public class MISession extends Observable {
parser = new MIParser();
// Do this first.
inferior = new MIInferior(this);
txQueue = new CommandQueue();
rxQueue = new CommandQueue();
eventQueue = new Queue();
@ -79,10 +82,9 @@ public class MISession extends Observable {
rxThread.start();
eventThread.start();
inferior = new MIInferior(this);
try {
// Disable a certain number of irritations from gdb.
// Like confirmation and screen size.
try {
MIInfo info;
MIGDBSet confirm = new MIGDBSet(new String[]{"confirm", "off"});