This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH V2 3/3] fort_dyn_array: Use value constructor instead of raw-buffer manipulation.
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Bernhard Heckel <bernhard dot heckel at intel dot com>
- Cc: gdb-patches at sourceware dot org, brobecker at adacore dot com, Keven Boell <keven dot boell at intel dot com>
- Date: Thu, 07 Apr 2016 17:22:28 +0100
- Subject: Re: [PATCH V2 3/3] fort_dyn_array: Use value constructor instead of raw-buffer manipulation.
- Authentication-results: sourceware.org; auth=none
- References: <1459936659-19039-1-git-send-email-bernhard dot heckel at intel dot com> <1459936659-19039-4-git-send-email-bernhard dot heckel at intel dot com>
Bernhard Heckel <bernhard.heckel@intel.com> writes:
> 2014-05-28 Sanimir Agovic <sanimir.agovic@intel.com>
> Keven Boell <keven.boell@intel.com>
> Bernhard Heckel <bernhard.heckel@intel.com>
>
> gdb/Changelog:
> * f-valprint.c (f77_create_arrayprint_offset_tbl): Remove
> function.
> (F77_DIM_SIZE, F77_DIM_OFFSET): Remove macro.
> (f77_print_array_1): Use value_subscript to subscript a
> value array.
> (f77_print_array): Remove call to f77_create_arrayprint_offset_tbl.
> (f_val_print): Use value_field to construct a field value.
>
> gdb/testsuite/Changelog:
> * vla-type.exp: Print structure from toplevel.
Patch is good to me.
--
Yao (éå)