diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2016-02-14 09:10:59 +0100 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2016-02-14 09:10:59 +0100 |
commit | e9fb005c0e95e642c2e5a65c02d026b4223082e6 (patch) | |
tree | 767358a98e67d2c922e20ceac24e46e26c560969 /gdb | |
parent | 5b53d25c4dbb0b0cea39f60a54f7238054a8eb26 (diff) | |
download | gdb-e9fb005c0e95e642c2e5a65c02d026b4223082e6.zip gdb-e9fb005c0e95e642c2e5a65c02d026b4223082e6.tar.gz gdb-e9fb005c0e95e642c2e5a65c02d026b4223082e6.tar.bz2 |
testsuite regression: gdb.fortran/vla-value-sub.exp gdb.fortran/vla-value-sub-finish.exp
> +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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-value-sub.exp | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6ef8932..247173d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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-12 Marcin KoĆcielnicki <koriakin@0x04.net> * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15. diff --git a/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp b/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp index c47ef2c..fde6c9f 100644 --- a/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp +++ b/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp @@ -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" \ diff --git a/gdb/testsuite/gdb.fortran/vla-value-sub.exp b/gdb/testsuite/gdb.fortran/vla-value-sub.exp index 361d7a9..179683d 100644 --- a/gdb/testsuite/gdb.fortran/vla-value-sub.exp +++ b/gdb/testsuite/gdb.fortran/vla-value-sub.exp @@ -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" \ |