Does gdb support D enums?

Johannes Pfau via D.gnu d.gnu at puremagic.com
Wed Oct 21 08:22:58 PDT 2015


Am Wed, 21 Oct 2015 11:45:58 +0300
schrieb drug <drug2004 at bk.ru>:

> Using gdb `print` instead of enum value I see `incomplete type`. Did
> I miss something? (I use gdb 7.10 from ttp://ftp.gnu.org/gnu/gdb/)
> 
> Thanks

Which gdc branch/version? And please provide a testcase as I can't
reproduce this bug with a simple example:

Breakpoint 1, D main () at test.d:11
11	    TestEnum e;
(gdb) print e
$1 = a



More information about the D.gnu mailing list