Displays the INtime software system calls in a thread's stack.
vu thread-handle
thread-handle
This command searches a thread's stack for INtime software system calls, starting at the top of the stack. The thread's stack must be inside an INtime software segment. For each system call it finds, vu displays:
If no system calls are found on the stack, vu attempts to find possible return CS:EIP values. There are two possible displays for this situation; the second can list one or more possible return values:
No system calls on stack Return cs:eip - xxx:xxx
or
No system calls on stack Possible Return cs:eip(s) - xxx:xxx xxx:xxx xxx:xxx
The vu command uses internal INtime software data structures to get system call information. The data structures are updated immediately after the system call at the top of the thread's stack completes. Since the monitor interrupt might come after the system call is completed, but before the data structures are updated, some of the information may be obsolete. Therefore, the first system call displayed may not be valid.
System calls can be nested, so some invocations of the vu command produce multiple displays of the type shown here. This is the display format for the vu system call information:
gate #NNNN Return cs:eip - yyyy:yyyyyyyy xxxx:xxxxxxxx XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX xxxx:xxxxxxxx XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX xxxx:xxxxxxxx XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX (subsystem) system call |Parameters|.
The fields are as follows:
gate #NNNN
Return cs:eip
yyyy:yyyyyyyy
).
xxxx:xxxxxxxx
XXXXXXXX
(subsystem)
system call
Parameters
This example shows how the vu command responds when system calls are nested. The thread for the example has called the EIOS system call s_write_move
. s_write_move
has called the BIOS system call a_write
. a_write
has called ReceiveRtHandle to wait for the data transfer to complete.
Suppose that before the message arrives signaling the completion of the transfer, you enter SDM and invoke the vu command:
..vu 21c8 ..vu 2540 gate #0158 Return cs:eip - 2533:004020aa 24f3:0040cca4 00002688 ffffffff 00000000 00000000 00000014 00000000 24f3:0040ccbc 00000004 00000000 00000000 00000000 00000000 00000000 24f3:0040ccd4 00000000 00000000 00000000 00000000 00000000 00000000 (INtime) ReceiveRtHandle | Mailbox. | MillSecs | Response |
Syntax Error
*** INVALID THREAD HANDLE ***
HANDLE is not a THREAD