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