Index: gdb/gnulib/import/isnanl.c |
diff --git a/gdb/testsuite/gdb.arch/mips16-thunks-main.c b/gdb/gnulib/import/isnanl.c |
similarity index 68% |
copy from gdb/testsuite/gdb.arch/mips16-thunks-main.c |
copy to gdb/gnulib/import/isnanl.c |
index 37239b1a3eb82e3ac16b8bac30c01482e8e6d0fc..597ac2a8fea830111c6f2740d9ab55a82d1f8fba 100644 |
--- a/gdb/testsuite/gdb.arch/mips16-thunks-main.c |
+++ b/gdb/gnulib/import/isnanl.c |
@@ -1,8 +1,7 @@ |
-/* This testcase is part of GDB, the GNU debugger. |
+/* Test for NaN that does not need libm. |
+ Copyright (C) 2007, 2009-2012 Free Software Foundation, Inc. |
- Copyright 2012 Free Software Foundation, Inc. |
- |
- This program is free software; you can redistribute it and/or modify |
+ 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 |
the Free Software Foundation; either version 3 of the License, or |
(at your option) any later version. |
@@ -15,10 +14,7 @@ |
You should have received a copy of the GNU General Public License |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
-int inmain (void); |
+/* Written by Bruno Haible <bruno@clisp.org>, 2007. */ |
-int |
-main (void) |
-{ |
- return inmain (); |
-} |
+#define USE_LONG_DOUBLE |
+#include "isnan.c" |