> FWIW you can see the bug from C, if you make an enum type and then > compile with -fshort-enums (which IIRC is the default for some targets). Genius! I did not know this switch for C... Attached is the testcase I created for it. Tested on x86_64-linux, with and without gdbserver. In the gdbserver case, I verified that it fails without the fix. > Joel> * ax-gdb.c (gen_usual_unary): Remove special handling of > Joel> enum and bool types. > > I think it is correct. Thanks for review. Patch and testcase now both checked in. -- Joel