This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch v2 05/10] vla: update type from newly created value
- From: Tom Tromey <tromey at redhat dot com>
- To: Sanimir Agovic <sanimir dot agovic at intel dot com>
- Cc: gdb-patches at sourceware dot org, keven dot boell at intel dot com
- Date: Fri, 22 Nov 2013 13:45:47 -0700
- Subject: Re: [Patch v2 05/10] vla: update type from newly created value
- Authentication-results: sourceware.org; auth=none
- References: <1385044223-24650-1-git-send-email-sanimir dot agovic at intel dot com> <1385044223-24650-6-git-send-email-sanimir dot agovic at intel dot com>
>>>>> "Sanimir" == Sanimir Agovic <sanimir.agovic@intel.com> writes:
Sanimir> Constructing a value based on a type and address might change
Sanimir> the type of the newly constructed value. Thus re-fetch type via
Sanimir> value_type to ensure we have the correct type at hand.
Sanimir> 2013-10-18 Sanimir Agovic <sanimir.agovic@intel.com>
Sanimir> Keven Boell <keven.boell@intel.com>
Sanimir> * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
Sanimir> (ada_template_to_fixed_record_type_1): Likewise.
Sanimir> (ada_to_fixed_type_1): Likewise.
Sanimir> * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
Sanimir> (cp_print_value): Likewise.
Sanimir> * d-valprint.c (dynamic_array_type): Likewise.
Sanimir> * jv-valprint.c (java_value_print): Likewise.
Sanimir> * valops.c (value_ind): Likewise.
Sanimir> * value.c (coerce_ref): Likewise.
Looks good. Thanks.
Tom