Native Inspect Manual (H06.07+)

Syntax of Native Inspect Commands
Native Inspect Manual528122-006
4-79
tn command
Examples
To obtain the name of the jump buffer (in this case, env), and then trace the stack
relative to the jump buffer:
To obtain the address of the ucontext buffer and then trace the stack relative to the
ucontext buffer:
tn command
Prints a backtrace of the stack frames.
(eInspect 1,1028):info var
All defined variables:
File \SIERRA.$OS.VIVTEST.STEST12:
char NULL[16];
char SEEK_CUR[19];
char SEEK_END[19];
char SEEK_SET[19];
---Type <return> to continue, or q <return> to quit---
char TDMSIGH_TNS_BE_FILLER[39];
char TDMSIGH_TNS_E_FILLER[51];
char _GUARDIAN_HOST[25];
char _GUARDIAN_TARGET[27];
char _TANDEM_ARCH_[24];
char _TANDEM_SOURCE[25];
char __INT32[18];
char __TANDEM[19];
char __XMEM[17];
char __size_t_DEFINED[26];
jmp_buf env;
int errno;
char int64_t[26];
Non-debugging symbols:
08000230 _initz
700008d0 _CTORS
700008d0 _ctors
700008d8 _DTORS
700008d8 _dtors
700008e0 _termz
(eInspect 1,1028):
(eInspect 1,1028):p &env
$1 = (jmp_buf *) 0x8000350
(eInspect 1,1028):tj 0x8000350
#0 0x70001260:0 in main (argc=0, argv=0x60000)
at \SIERRA.$OS.VIVTEST.STEST12:32
#1 0x70001a20:0 in _MAIN () at \SPEEDY.$DATA06.T8432H01.CPLMAINC:68
(eInspect 1,1028):info locals
ucp = (ucontext_t *) 0x6fffede0
(eInspect 1,1028):tu 0x6fffede0
#0 0x70000cd0:0 in func3 (p=1879043416, q=0, r=134222120)
at \SIERRA.$OS.VIVTEST.STEST12:21.030
#1 0x70000e50:0 in func2 (p=5, q=10) at
\SIERRA.$OS.VIVTEST.STEST12:21.060
#2 0x70000fa0:0 in func1 (p=5) at \SIERRA.$OS.VIVTEST.STEST12:21.1
#3 0x700012d0:0 in main (argc=1, argv=0x8003010)
at \SIERRA.$OS.VIVTEST.STEST12:33.1
#4 0x70001a20:0 in _MAIN () at \SPEEDY.$DATA06.T8432H01.CPLMAINC:68