From 3e31985da5521a63c1d14f337e4c5d002a9e8f16 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Wed, 5 Nov 2008 08:27:22 +0000 Subject: [PATCH] Fix false FAIL due to uninitialized `i'. --- gdb-6.8-watchpoint-cond-test.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb-6.8-watchpoint-cond-test.patch b/gdb-6.8-watchpoint-cond-test.patch index ce60ece..b014074 100644 --- a/gdb-6.8-watchpoint-cond-test.patch +++ b/gdb-6.8-watchpoint-cond-test.patch @@ -68,7 +68,7 @@ http://sourceware.org/ml/gdb-cvs/2008-04/msg00104.html +int +main (int argc, char **argv) +{ -+ int i = 0; ++ static int i = 0; /* `static' to start initialized. */ + int j = 2; + + for (j = 0; j < 30; j++)