Index: gdb/testsuite/gdb.base/nextoverexit.c |
diff --git a/gdb/testsuite/gdb.pascal/floats.pas b/gdb/testsuite/gdb.base/nextoverexit.c |
similarity index 59% |
copy from gdb/testsuite/gdb.pascal/floats.pas |
copy to gdb/testsuite/gdb.base/nextoverexit.c |
index 002b4e250c271c642452e10777728d55a4da7765..125d68fe5f5cd85414364580890948fe5ddacb81 100644 |
--- a/gdb/testsuite/gdb.pascal/floats.pas |
+++ b/gdb/testsuite/gdb.base/nextoverexit.c |
@@ -1,5 +1,4 @@ |
-{ |
- Copyright 2008-2012 Free Software Foundation, Inc. |
+/* Copyright 2012 Free Software Foundation, Inc. |
This program is free software; you can redistribute it and/or modify |
it under the terms of the GNU General Public License as published by |
@@ -13,35 +12,12 @@ |
You should have received a copy of the GNU General Public License |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
-} |
- |
+*/ |
-program floats; |
+#include <stdlib.h> |
-var |
- i, j, k, l : integer; |
- r, s, t, u : real; |
- |
-begin |
- i := 0; |
- j := 0; |
- k := 0; |
- r := 0.0; |
- s := 0.0; |
- t := 0.0; |
- u := 0.0; |
- l := 0; |
- i := 1; { set breakpoint 1 here } |
- r := 1.25; |
- s := 2.2; |
- t := -3.2; |
- u := 78.3; |
- l := 1; |
- i := 1; |
- u := pi; { set breakpoint 2 here } |
- r := cos(u); |
- s := sin(u); |
- u := pi / 2; |
- r := cos(u); |
- s := sin(u); |
-end. |
+int |
+main (void) |
+{ |
+ exit (0); |
+} |