[PATCH v4 04/13] vla: enable sizeof operator for indirection
Tom Tromey
tromey@redhat.com
Wed Jan 15 21:28:00 GMT 2014
>>>>> "Sanimir" == Sanimir Agovic <sanimir.agovic@intel.com> writes:
Sanimir> 2013-10-18 Sanimir Agovic <sanimir.agovic@intel.com>
Sanimir> Keven Boell <keven.boell@intel.com>
Sanimir> * eval.c (evaluate_subexp_for_sizeof): Create a indirect value and
Sanimir> retrieve the dynamic type size.
I neglected to mention it in the previous patch, but when changing one
case in a function like this, that consists of little but a big switch,
it's normal to mention the case, like:
* eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: ...
The patch looks good.
Tom
More information about the Gdb-patches
mailing list