$NetBSD: patch-ac,v 1.1 2005/10/20 17:48:49 wiz Exp $ --- gdb/ax-gdb.c.orig 2004-02-06 11:30:47.000000000 -0700 +++ gdb/ax-gdb.c @@ -743,6 +743,8 @@ gen_usual_unary (struct agent_expr *ax, case TYPE_CODE_ENUM: value->type = builtin_type_int; break; + default: + ; } /* If the value is an lvalue, dereference it. */