GDBMI_exec_step_instruction.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 12 Jun 2014 01:21:45 +0100
changeset 12 568a2971c977
child 78 c24e7d8bc881
permissions -rw-r--r--
Generated classes for MI commands. List of command as well as documentation was taken directly from GDB sources.

"{ 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'
! !