GDBMI_exec_step_instruction.st
changeset 12 568a2971c977
child 78 c24e7d8bc881
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GDBMI_exec_step_instruction.st	Thu Jun 12 01:21:45 2014 +0100
@@ -0,0 +1,65 @@
+"{ Package: 'jv:libgdbs' }"
+
+GDBMICommand subclass:#GDBMI_exec_step_instruction
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'GDB-Core-Commands-MI'
+!
+
+!GDBMI_exec_step_instruction class methodsFor:'documentation'!
+
+documentation
+"
+The `-exec-step-instruction' Command
+------------------------------------
+
+Synopsis
+........
+
+      -exec-step-instruction [--reverse]
+
+   Resumes the inferior which executes one machine instruction.  If the
+`--reverse' option is specified, resumes reverse execution of the
+inferior program, stopping at the previously executed instruction.  The
+output, once {No value for `GDBN'} has stopped, will vary depending on
+whether we have stopped in the middle of a source line or not.  In the
+former case, the address at which the program stopped will be printed
+as well.
+
+{No value for `GDBN'} Command
+.............................
+
+The corresponding {No value for `GDBN'} command is `stepi'.
+
+Example
+.......
+
+     (gdb)
+     -exec-step-instruction
+     ^running
+
+     (gdb)
+     *stopped,reason='end-stepping-range',
+     frame={func='foo',args=[],file='try.c',
+     fullname='/home/foo/bar/try.c',line='10'}
+     (gdb)
+     -exec-step-instruction
+     ^running
+
+     (gdb)
+     *stopped,reason='end-stepping-range',
+     frame={addr='0x000100f4',func='foo',args=[],file='try.c',
+     fullname='/home/foo/bar/try.c',line='10'}
+     (gdb)
+
+
+"
+! !
+
+!GDBMI_exec_step_instruction methodsFor:'accessing'!
+
+operation
+	^ 'exec-step-instruction'
+! !
+