[RFA] varobj: call CHECK_TYPEDEF
Keith Seitz
keiths@redhat.com
Thu Apr 24 20:47:00 GMT 2003
Hi,
Well, I am not really sure what this does, or why it is necessary
(check_typedef has no comment in gdbtypes.c), but it's what type_print
code does.
Occasionally, some (C++?) files can show no child objects because
nfields will be zero. After calling CHECK_TYPEDEF, nfields is suddenly
non-zero.
This was first reported as insight/219.
Keith
ChangeLog
2003-04-24 Keith Seitz <keiths@redhat.com>
* varobj.c (get_type): Call CHECK_TYPEDEF.
(get_type_deref): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: varobj-check_typedef.patch
Type: text/x-patch
Size: 651 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030424/8880115b/attachment.bin>
More information about the Gdb-patches
mailing list