winedbg: stack_backtrace should not return a value
Austin English
austinenglish at gmail.com
Wed Dec 19 15:05:28 CST 2012
--
-Austin
-------------- next part --------------
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)
{
More information about the wine-patches
mailing list