[patch] Testsuite: Fortran: 6.8 regression + gfortran updates

Joel Brobecker brobecker@adacore.com
Mon Dec 29 03:49:00 GMT 2008


> 2008-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* gdb.fortran/subarray.exp: Expect also the strings type output.
> 	* gdb.fortran/derived-type.exp: Likewise.  Expect also the kind=X types.
> 	Update for the f-valprint.c modification from 2008-04-22.

Looks OK to me.

Just a few questions, out of curiosity.

> -    "type = Type bar.*int4.*\:\: c.*real.*\:\: d.*End Type bar" \
> +    "type = Type bar.*int.*\:\: c.*real.*\:\: d.*End Type bar" \
                        ^^^^^^

What does the debugger print in your case? int8 or integer, or...?

> -gdb_test "print q%b" "\\$\[0-9\]+ = \\(.*a.*b.*c.*d.*e.*f.*g.*\\)"
> +gdb_test "print q%b" "\\$\[0-9\]+ = (\\(.*a.*b.*c.*d.*e.*f.*g.*\\)|'abcdefg')"

Under what circumstances will the debugger print the string as an array
of characters as opposed to a string?

-- 
Joel



More information about the Gdb-patches mailing list