summaryrefslogtreecommitdiff
path: root/devel/gdbada/patches/patch-ab
blob: 61021073f4462d6dbb32d23fa918bed456d1870d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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.  */