k[b|s|v] [addr] [addr]
This command displays the current stack frame. Each line shows the name of a procedure, its arguments, and the address of the statement that called it. The command displays four 2-byte arguments by default. The ka command changes the number of arguments displayed by this command.
b
Indicates the stack frame is 32 bits wide.
s
Indicates the stack frame is 16 bits wide.
v
Displays the verbose version of stack information — that is, information about stack location and frame pointer values for each frame.
addr
Specifies an optional stack-frame address (SS:EBP) or an optional code address (CS:EIP).
Using the k command at the beginning of a function (before the function prolog has been executed) gives incorrect results. The command uses the BP register to compute the current backtrace, and this register is not correctly set for a function until its prolog has been executed.