Index: gdb/testsuite/gdb.base/ldbl_e308.c |
diff --git a/gdb/testsuite/gdb.base/gdb1555-main.c b/gdb/testsuite/gdb.base/ldbl_e308.c |
similarity index 83% |
copy from gdb/testsuite/gdb.base/gdb1555-main.c |
copy to gdb/testsuite/gdb.base/ldbl_e308.c |
index 0dc74869516554323c72ee514f2da1ff7eced661..b6c154b0f04bafcb03d12cf5f96995139263ddc4 100644 |
--- a/gdb/testsuite/gdb.base/gdb1555-main.c |
+++ b/gdb/testsuite/gdb.base/ldbl_e308.c |
@@ -1,6 +1,4 @@ |
-/* Test step/next in a shared library |
- |
- Copyright 2004, 2012 Free Software Foundation, Inc. |
+/* Copyright (C) 2012-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -17,11 +15,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/>. */ |
-extern int hithere2 (); |
+long double ldbl_308 = 2.0; |
int |
-main() |
+main (void) |
{ |
- hithere2(); |
+ ldbl_308 = ldbl_308 / 2; |
+ |
return 0; |
} |