aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/jump.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/jump.c')
-rw-r--r--gdb/testsuite/gdb.base/jump.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/gdb/testsuite/gdb.base/jump.c b/gdb/testsuite/gdb.base/jump.c
deleted file mode 100644
index aae94f7..0000000
--- a/gdb/testsuite/gdb.base/jump.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* This program is used to test the "jump" command. There's nothing
- particularly deep about the functionality nor names in here.
- */
-
-#ifdef PROTOTYPES
-static int square (int x)
-#else
-static int square (x)
- int x;
-#endif
-{
- return x*x;
-}
-
-
-int main ()
-{
- int i = 99;
-
- i++;
- i = square (i);
- i--;
- return 0;
-}