GDBMI_stack_info_depth.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 26 May 2017 08:05:28 +0100
changeset 78 c24e7d8bc881
parent 45 deb908479a37
child 91 472a4841a8b6
permissions -rw-r--r--
BUpdated build files.

"{ Package: 'jv:libgdbs' }"

"{ NameSpace: Smalltalk }"

GDBMICommand subclass:#GDBMI_stack_info_depth
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'GDB-Core-Commands-MI'
!

!GDBMI_stack_info_depth class methodsFor:'documentation'!

documentation
"
The `-stack-info-depth' Command
-------------------------------

Synopsis
........

      -stack-info-depth [ MAX-DEPTH ]

   Return the depth of the stack.  If the integer argument MAX-DEPTH is
specified, do not count beyond MAX-DEPTH frames.

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

There's no equivalent {No value for `GDBN'} command.

Example
.......

For a stack with frame levels 0 through 11:

     (gdb)
     -stack-info-depth
     ^done,depth='12'
     (gdb)
     -stack-info-depth 4
     ^done,depth='4'
     (gdb)
     -stack-info-depth 12
     ^done,depth='12'
     (gdb)
     -stack-info-depth 11
     ^done,depth='11'
     (gdb)
     -stack-info-depth 13
     ^done,depth='12'
     (gdb)


"
! !

!GDBMI_stack_info_depth methodsFor:'accessing'!

operation
	^ 'stack-info-depth'
! !

!GDBMI_stack_info_depth methodsFor:'accessing-descriptors'!

resultDescription
    ^ (super resultDescription)
        define:#depth as:Integer;
        yourself

    "Created: / 16-09-2014 / 23:37:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!GDBMI_stack_info_depth class methodsFor:'documentation'!

version_HG

    ^ '$Changeset: <not expanded> $'
! !