--- a/GDBUnixProcess.st Mon Nov 27 20:41:34 2017 +0000
+++ b/GDBUnixProcess.st Tue Dec 12 23:01:27 2017 +0000
@@ -22,7 +22,7 @@
GDBProcess subclass:#GDBUnixProcess
instanceVariableNames:'debuggerPTY consolePTY'
- classVariableNames:'GDBExecutable'
+ classVariableNames:''
poolDictionaries:''
category:'GDB-Private'
!
@@ -50,20 +50,6 @@
"
! !
-!GDBUnixProcess class methodsFor:'accessing'!
-
-gdbExecutable
- ^ GDBExecutable
-
- "Created: / 01-03-2015 / 08:07:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-!
-
-gdbExecutable: aString
- GDBExecutable := aString
-
- "Created: / 01-03-2015 / 08:07:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
-
!GDBUnixProcess methodsFor:'accessing'!
consoleInput
@@ -76,18 +62,6 @@
^ consolePTY master
"Created: / 02-06-2017 / 23:36:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-!
-
-debuggerInput
- ^ debuggerPTY master
-
- "Modified: / 26-05-2017 / 11:33:59 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-!
-
-debuggerOutput
- ^ debuggerPTY master
-
- "Modified: / 26-05-2017 / 11:34:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!GDBUnixProcess methodsFor:'initialization & release'!
@@ -128,6 +102,7 @@
showWindow: false.
consolePTY := conpty.
debuggerPTY := dbgpty.
+ debuggerInput := debuggerOutput := debuggerPTY master.
pid.
]
action:[:stat | self exited:stat ].
@@ -137,12 +112,13 @@
self error:'Failed to launch gdb'.
].
- "Modified: / 17-11-2017 / 20:18:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 16-12-2017 / 22:27:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
release
debuggerPTY notNil ifTrue:[
debuggerPTY release.
+ debuggerInput := debuggerOutput := nil
].
consolePTY notNil ifTrue:[
consolePTY release.
@@ -150,6 +126,7 @@
super release
"Created: / 02-06-2017 / 23:33:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 15-12-2017 / 23:59:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!GDBUnixProcess class methodsFor:'documentation'!