From df12a0d654ccddf5a7db368b7c68b6b19e7ddfd0 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 2 Oct 2000 22:17:07 +0000 Subject: [PATCH] Fixed backtrace for apps that never called down to 16-bit code. --- debugger/stack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debugger/stack.c b/debugger/stack.c index 5cdff62af4e..157d1445061 100644 --- a/debugger/stack.c +++ b/debugger/stack.c @@ -270,7 +270,8 @@ void DEBUG_BackTrace(BOOL noisy) for (ok = TRUE; ok;) { if ((frames[frameno].ss == sw_addr.seg) && - (frames[frameno].ebp >= sw_addr.off)) { + sw_addr.off && (frames[frameno].ebp >= sw_addr.off)) + { /* 16<->32 switch... * yes, I know this is confusing, it gave me a headache too */ if (is16) {