Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: gdb/testsuite/gdb.base/nextoverexit.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/multi-forks.exp ('k') | gdb/testsuite/gdb.base/nextoverexit.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+}
« no previous file with comments | « gdb/testsuite/gdb.base/multi-forks.exp ('k') | gdb/testsuite/gdb.base/nextoverexit.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698