]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
testsuite regression: gdb.fortran/vla-value-sub.exp gdb.fortran/vla-value-sub-finish.exp
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 14 Feb 2016 08:10:59 +0000 (09:10 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 14 Feb 2016 08:19:12 +0000 (09:19 +0100)
> +static int max_value_size = 65536; /* 64k bytes */

FAIL: gdb.fortran/vla-value-sub.exp: print array2 in foo after it was filled (passed fixed array)
FAIL: gdb.fortran/vla-value-sub.exp: print array2 in foo after it was mofified in debugger (passed fixed array)
FAIL: gdb.fortran/vla-value-sub-finish.exp: print array2 in foo after it was filled
FAIL: gdb.fortran/vla-value-sub-finish.exp: print array2 in foo after it was mofified in debugger

print array2
value requires 296352 bytes, which is more than max-value-size
(gdb) FAIL: gdb.fortran/vla-value-sub.exp: print array2 in foo after it was filled (passed fixed array)

gdb/testsuite/ChangeLog
2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
New test.
* gdb.fortran/vla-value-sub.exp: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp
gdb/testsuite/gdb.fortran/vla-value-sub.exp

index c2e346613a3fb95d21e4829df62284800eb2d55c..02f602fcd5983de39086b09acdb9abb6bd3d3dbd 100644 (file)
@@ -1,3 +1,9 @@
+2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
+       New test.
+       * gdb.fortran/vla-value-sub.exp: Likewise.
+
 2016-02-09  Keith Seitz  <keiths@redhat.com>
 
        PR breakpoints/19546
index c47ef2cf4b4abab7ddda1ee00bfd8d16fc5d3483..fde6c9f00ab561ab26149e0caa9bc8926bd5464e 100644 (file)
@@ -32,6 +32,8 @@ if ![runto_main] {
 
 gdb_breakpoint [gdb_get_line_number "array2-almost-filled"]
 gdb_continue_to_breakpoint "array2-almost-filled"
+# array2 size is 296352 bytes.
+gdb_test_no_output "set max-value-size 1024*1024"
 gdb_test "print array2" " = \\( *\\( *\\( *30, *3, *3,\[()3, .\]*\\)" \
   "print array2 in foo after it was filled"
 gdb_test "print array2(2,1,1)=20" " = 20" \
index 361d7a9d22c8a9112c9c2955217ddcd7980f05b1..179683d85a57255c7c1a2ef7b79a7de7de8ce722 100644 (file)
@@ -42,6 +42,8 @@ gdb_test "print array1(1, 1)" " = 30" \
 
 gdb_breakpoint [gdb_get_line_number "array2-almost-filled"]
 gdb_continue_to_breakpoint "array2-almost-filled (1st)"
+# array2 size is 296352 bytes.
+gdb_test_no_output "set max-value-size 1024*1024"
 gdb_test "print array2" " = \\( *\\( *\\( *30, *3, *3,\[()3, .\]*\\)" \
   "print array2 in foo after it was filled (passed fixed array)"
 gdb_test "print array2(2,1,1)=20" " = 20" \