Module: wine Branch: master Commit: 654c7e36682ed697d5f340cdf0616460cf661ecc URL: http://source.winehq.org/git/wine.git/?a=commit;h=654c7e36682ed697d5f340cdf0...
Author: Rico Schüller kgbricola@web.de Date: Tue May 19 16:32:04 2009 +0200
winedbg: Do not print more than 9 characters from pThread->name.
---
programs/winedbg/tgt_active.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winedbg/tgt_active.c b/programs/winedbg/tgt_active.c index 2b8002b..235d43b 100644 --- a/programs/winedbg/tgt_active.c +++ b/programs/winedbg/tgt_active.c @@ -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; }