[patch] Display Fortran strings in backtraces

Joel Brobecker brobecker@adacore.com
Tue Jul 29 20:20:00 GMT 2014


> gdb/
> 2014-07-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* valprint.c (val_print_scalar_type_p): For TYPE_CODE_STRING return 0.
> 
> gdb/testsuite/
> 2014-07-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* gdb.fortran/fortran-frame-string.exp: New file.
> 	* gdb.fortran/fortran-frame-string.f90: New file.

Sorry, Jan.  That seems to be counter-intuitive; strings are not
scalars...  The intent of the setting is to avoid having super-long
parameter values drowning the list parameters. Strings can be pretty
long, so I think the current behavior matches my current expectation.

-- 
Joel



More information about the Gdb-patches mailing list