GDBConnection.st
changeset 167 6da3d808c7cc
parent 152 fab425b52c21
child 170 6cf990ac2cad
equal deleted inserted replaced
166:5cb191425081 167:6da3d808c7cc
   343 
   343 
   344 !GDBConnection methodsFor:'initialize & release'!
   344 !GDBConnection methodsFor:'initialize & release'!
   345 
   345 
   346 initializeWithProcess:aGDBProcess 
   346 initializeWithProcess:aGDBProcess 
   347     process := aGDBProcess.
   347     process := aGDBProcess.
   348     OperatingSystem isUNIXlike ifTrue:[
   348     (OperatingSystem isUNIXlike and:[aGDBProcess canUsePTY]) ifTrue:[
   349         inferiorPTY := GDBPTY new.
   349         inferiorPTY := GDBPTY new.
   350     ].
   350     ].
   351     eventQueue := OrderedCollection new.
   351     eventQueue := OrderedCollection new.
   352     eventQueueLock := RecursionLock new.
   352     eventQueueLock := RecursionLock new.
   353     eventDispatchNotifier := Semaphore new.
   353     eventDispatchNotifier := Semaphore new.
   358     outstandingCommands := Set new.
   358     outstandingCommands := Set new.
   359     recorder := GDBMITracer new.
   359     recorder := GDBMITracer new.
   360     aGDBProcess connection:self.
   360     aGDBProcess connection:self.
   361 
   361 
   362     "Created: / 20-06-2014 / 21:40:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   362     "Created: / 20-06-2014 / 21:40:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   363     "Modified: / 18-09-2014 / 00:11:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   364     "Modified: / 12-01-2018 / 00:12:25 / jv"
   363     "Modified: / 12-01-2018 / 00:12:25 / jv"
       
   364     "Modified: / 16-01-2019 / 23:02:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   365 !
   365 !
   366 
   366 
   367 release
   367 release
   368     process release
   368     process release
   369 
   369