Commit 88cf37fd authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

winedbg: Make frame numbers display starting from 0 so we match frame command.

parent 1632175b
......@@ -289,7 +289,7 @@ static void backtrace(void)
{
dbg_printf("%s%d ",
(cf == dbg_curr_thread->curr_frame ? "=>" : " "),
dbg_curr_thread->curr_frame + 1);
dbg_curr_thread->curr_frame);
stack_print_addr_and_args(dbg_curr_thread->curr_frame);
dbg_printf(" (");
print_bare_address(&dbg_curr_thread->frames[dbg_curr_thread->curr_frame].addr_frame);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment