From: Phil Muldoon Date: Mon, 12 Apr 2010 09:49:35 +0000 (+0000) Subject: 2010-04-12 Phil Muldoon X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc8eb08a3af3413effa69e39deaf6293e25e56d5;p=binutils-gdb.git 2010-04-12 Phil Muldoon * gdb.python/py-breakpoint.c: Make result global. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0fb887a9f7f..38fab54ad8b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-04-12 Phil Muldoon + + * gdb.python/py-breakpoint.c: Make result global. + 2010-04-09 Jan Kratochvil Fix non-GNU make compatibility. diff --git a/gdb/testsuite/gdb.python/py-breakpoint.c b/gdb/testsuite/gdb.python/py-breakpoint.c index b2ad81bcb9d..4dbe7237325 100644 --- a/gdb/testsuite/gdb.python/py-breakpoint.c +++ b/gdb/testsuite/gdb.python/py-breakpoint.c @@ -17,6 +17,7 @@ */ +int result = 0; int multiply (int i) { @@ -33,7 +34,6 @@ int main (int argc, char *argv[]) { int foo = 5; int bar = 42; - int result = 0; int i; for (i = 0; i < 10; i++)