Inheritance: IDisposable, IExternal
コード例 #1
0
ファイル: TranslationCPU.cs プロジェクト: rte-se/emul8
        public void StartGdbServer(int port)
        {
            if(IsGdbServerCreated)
            {
                throw new RecoverableException(string.Format("GDB server already started for this cpu on port: {0}", stub.Port));
            }

            try
            {
                stub = new GdbStub(port, this);
            }
            catch(SocketException e)
            {
                throw new RecoverableException(string.Format("Could not start GDB server: {0}", e.Message));
            }
        }
コード例 #2
0
ファイル: GdbStub.cs プロジェクト: vainamon/emul8
 public CommunicationHandler(GdbStub stub)
 {
     this.stub    = stub;
     queue        = new Queue <byte>();
     internalLock = new object();
 }