Commit 654c7e36 authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

winedbg: Do not print more than 9 characters from pThread->name.

parent d5d0738f
......@@ -271,7 +271,7 @@ static DWORD dbg_handle_exception(const EXCEPTION_RECORD* rec, BOOL first_chance
return DBG_CONTINUE;
}
if (dbg_read_memory(pThreadName->szName, pThread->name, 9))
dbg_printf("Thread ID=%04x renamed using MS VC6 extension (name==\"%s\")\n",
dbg_printf("Thread ID=%04x renamed using MS VC6 extension (name==\"%.9s\")\n",
pThread->tid, pThread->name);
return DBG_CONTINUE;
}
......
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