<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 21 October 2015 at 10:45, drug via D.gnu <span dir="ltr"><<a href="mailto:d.gnu@puremagic.com" target="_blank">d.gnu@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Using gdb `print` instead of enum value I see `incomplete type`. Did I miss something? (I use gdb 7.10 from ttp://<a href="http://ftp.gnu.org/gnu/gdb/" rel="noreferrer" target="_blank">ftp.gnu.org/gnu/gdb/</a>)<br>
<br>
Thanks<br>
</blockquote></div><br><br></div><div class="gmail_extra">Depends what you mean by 'enum'. Only integral types are treated as enum in the C sense. All other value types (bool, float) are treated as constant literals that you can only access through it's qualified name. Don't expect aggregate types (struct, array, associative array) to show properly either.<br></div></div>