Austin English : winedbg: stack_backtrace should not return a value.
Alexandre Julliard
julliard at winehq.org
Thu Dec 20 12:39:56 CST 2012
Module: wine
Branch: master
Commit: bc4e1efce30c5c5661ccd314d81824fc8c74fc07
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bc4e1efce30c5c5661ccd314d81824fc8c74fc07
Author: Austin English <austinenglish at 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)
{
More information about the wine-cvs
mailing list