[PATCH] Fix mi "-var-create" regression
Tom Tromey
tromey@redhat.com
Thu Oct 18 01:13:00 GMT 2012
>>>>> "Luis" == Luis Machado <lgustavo@codesourcery.com> writes:
Luis> + && TYPE_CODE (TYPE_TARGET_TYPE (result)) != TYPE_CODE_VOID)
On further reflection, I have a question and a comment.
First, perhaps instead of excluding void* here, we should only allow
pointers to structs. That is the only case that has RTTI anyhow. What
do you think?
Also, I think this needs a check_typedef around TYPE_TARGET_TYPE.
Tom
More information about the Gdb-patches
mailing list