GDBMIParser.st
changeset 57 f27c9f059a08
parent 55 437ee6413c74
child 73 f5fe22f56f10
--- a/GDBMIParser.st	Sat Feb 28 08:34:19 2015 +0100
+++ b/GDBMIParser.st	Sun Mar 01 08:27:42 2015 +0000
@@ -261,6 +261,33 @@
     "Modified: / 01-10-2014 / 09:36:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
+parsePostStartHeader
+    "
+Python Exception <type 'exceptions.ImportError'> No module named gdb: 
+./gdb: warning: 
+Could not load the Python gdb module from `/usr/local/share/gdb/python'.
+Limited Python support is available from the _gdb module.
+Suggest passing --data-directory=/path/to/gdb/data-directory.
+
+=thread-group-added,id='i1'
+(gdb) 
+
+    "
+
+    | atBeginingOfLine c |
+
+    atBeginingOfLine := true.
+    [ 
+        c := source peek.
+        atBeginingOfLine and:[ c == $= ]
+    ] whileFalse:[ 
+        c := source next.
+        atBeginingOfLine := c == Character lf
+    ].
+
+    "Created: / 01-03-2015 / 08:25:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 parseResultClass
     "
     result-class → 'done' | 'running' | 'connected' | 'error' | 'exit'