Ahem, reverse comparison so that normal stack traces have more than one entry
and 75% of regression tests don't fail.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1158 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_execontext.c b/coregrind/vg_execontext.c
index 3eac6c8..24939c5 100644
--- a/coregrind/vg_execontext.c
+++ b/coregrind/vg_execontext.c
@@ -193,7 +193,7 @@
* offending stack traces only have one item. --njn, 2002-aug-16 */
/* vg_assert(ebp_min <= ebp_max);*/
- if (ebp_min + 4000000 > ebp_max) {
+ if (ebp_min + 4000000 <= ebp_max) {
/* If the stack is ridiculously big, don't poke around ... but
don't bomb out either. Needed to make John Regehr's
user-space threads package work. JRS 20021001 */