| commit | df12a0d654ccddf5a7db368b7c68b6b19e7ddfd0 | [log] [tgz] |
|---|---|---|
| author | Alexandre Julliard <julliard@winehq.org> | Mon Oct 02 22:17:07 2000 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Mon Oct 02 22:17:07 2000 +0000 |
| tree | 70119e117528d46fb62e0709385477eba4663ea7 | |
| parent | 6a2a2ebc713675a65f5aaddfc908c1b350e9a21a [diff] [blame] |
Fixed backtrace for apps that never called down to 16-bit code.
diff --git a/debugger/stack.c b/debugger/stack.c index 5cdff62..157d144 100644 --- a/debugger/stack.c +++ b/debugger/stack.c
@@ -270,7 +270,8 @@ 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) {