This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: gdb can't print array element for fortran
- From: nickrob at snap dot net dot nz (Nick Roberts)
- To: Chandru <chandru at in dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 18 Mar 2010 23:55:07 +1300
- Subject: Re: gdb can't print array element for fortran
> This mail pertains to the discussion had on gdb mailing list sometime
> back here http://sourceware.org/ml/gdb-patches/2009-01/msg00251.html.
> After a small discussion with Jan I made the following changes and
> these didn't seem to work. Any inputs or thoughts would be helpful.
Hmm, the example given in January works with GDB 6.8. It looks like a
regression due to this change:
2008-04-22 Markus Deuling <deuling@de.ibm.com>
* eval.c (evaluate_subexp_standard): Use value_subscripted_rvalue for
multi_f77_subscript to support values from registers.
* valarith.c (value_subscripted_rvalue): Remove prototype and static.
* value.h (value_subscripted_rvalue): Add prototype.
* f-typeprint.c (f_type_print_base): Add support for TYPE_CODE_UNION.
Fix output.
* f-valprint.c (f_val_print): Likewise.
--
Nick http://users.snap.net.nz/~nickrob