GDBMI_exec_step.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
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'GDB-Core-Commands-MI'
!

!GDBMI_exec_step class methodsFor:'documentation'!

documentation
"
The `-exec-step' Command
------------------------

Synopsis
........

      -exec-step [--reverse]

   Resumes execution of the inferior program, stopping when the
beginning of the next source line is reached, if the next source line
is not a function call.  If it is, stop at the first instruction of the
called function.  If the `--reverse' option is specified, resumes
reverse execution of the inferior program, stopping at the beginning of
the previously executed source line.

{No value for `GDBN'} Command
.............................

The corresponding {No value for `GDBN'} command is `step'.

Example
.......

Stepping into a function:

     -exec-step
     ^running
     (gdb)
     *stopped,reason='end-stepping-range',
     frame={func='foo',args=[{name='a',value='10'},
     {name='b',value='0'}],file='recursive2.c',
     fullname='/home/foo/bar/recursive2.c',line='11'}
     (gdb)

   Regular stepping:

     -exec-step
     ^running
     (gdb)
     *stopped,reason='end-stepping-range',line='14',file='recursive2.c'
     (gdb)


"
! !

!GDBMI_exec_step methodsFor:'accessing'!

operation
	^ 'exec-step'
! !