This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Display Fortran strings in backtraces
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 29 Jul 2014 13:05:13 -0700
- Subject: Re: [patch] Display Fortran strings in backtraces
- Authentication-results: sourceware.org; auth=none
- References: <20140728214654 dot GA26290 at host2 dot jankratochvil dot net>
> 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