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++)