One thing winedbg has always lacked in the ability to change the current thread, making commands like "info locals" unusable, since they apply to the current stack frame, set by "frame N", which applies to the current thread, which cannot be changed.
This patch implements that feature. It adds a new winedbg command, "thread N", which changes the current thread to the thread whose TID is N.
Signed-off-by: Damjan Jovanovic damjan.jov@gmail.com --- programs/winedbg/dbg.y | 1 + programs/winedbg/debug.l | 1 + programs/winedbg/debugger.h | 1 + programs/winedbg/info.c | 2 +- programs/winedbg/tgt_active.c | 23 +++++++++++++++++++++++ programs/winedbg/winedbg.man.in | 3 +++ 6 files changed, 30 insertions(+), 1 deletion(-)