Module: wine Branch: master Commit: bc4e1efce30c5c5661ccd314d81824fc8c74fc07 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bc4e1efce30c5c5661ccd314d8...
Author: Austin English austinenglish@gmail.com Date: Wed Dec 19 15:05:28 2012 -0600
winedbg: stack_backtrace should not return a value.
---
programs/winedbg/stack.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/programs/winedbg/stack.c b/programs/winedbg/stack.c index 74dcc40..f49480a 100644 --- a/programs/winedbg/stack.c +++ b/programs/winedbg/stack.c @@ -447,7 +447,11 @@ void stack_backtrace(DWORD tid) /* backtrace every thread in every process except the debugger itself, * invoking via "bt all" */ - if (tid == -1) return backtrace_all(); + if (tid == -1) + { + backtrace_all(); + return; + }
if (!dbg_curr_process) {