commit ec5a7769d5c05542d12fc21afa25f32360db7de4 Author: Jan Kratochvil Date: Wed May 12 22:00:46 2010 +0200 Fix mb_reserve: https://bugzilla.redhat.com/show_bug.cgi?id=590635 diff --git a/gdb/testsuite/gdb.base/vla-overflow.exp b/gdb/testsuite/gdb.base/vla-overflow.exp index 7203a48..24a608f 100644 --- a/gdb/testsuite/gdb.base/vla-overflow.exp +++ b/gdb/testsuite/gdb.base/vla-overflow.exp @@ -66,7 +66,8 @@ proc memory_v_pages_get {} { set pages_found [memory_v_pages_get] -set mb_reserve 10 +# s390x with glibc-debuginfo.s390x installed used approx. 16MB. +set mb_reserve 40 verbose -log "pages_found = $pages_found, mb_reserve = $mb_reserve" set kb_found [expr $pages_found * $pagesize / 1024] set kb_permit [expr $kb_found + 1 * 1024 + $mb_reserve * 1024]