diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/recurse.c')
-rw-r--r-- | gdb/testsuite/gdb.base/recurse.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gdb/testsuite/gdb.base/recurse.c b/gdb/testsuite/gdb.base/recurse.c deleted file mode 100644 index 6ae93a5..0000000 --- a/gdb/testsuite/gdb.base/recurse.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Trivial code used to test watchpoints in recursive code and - auto-deletion of watchpoints as they go out of scope. */ - -static int -recurse (a) - int a; -{ - int b = 0; - - if (a == 1) - return 1; - - b = a; - b *= recurse (a - 1); - return b; -} - -main() -{ - recurse (10); -} |