$NetBSD: patch-ab,v 1.2 2005/11/13 14:16:05 shannonjr Exp $
--- gdb/ax-gdb.c.orig 2004-10-20 17:11:37.000000000 -0600
+++ 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. */