This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Display Fortran strings in backtraces


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]