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

Unified Diff: gdb/gnulib/import/isnanl.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 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/gnulib/import/isnand-nolibm.h ('k') | gdb/gnulib/import/isnanl-nolibm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « gdb/gnulib/import/isnand-nolibm.h ('k') | gdb/gnulib/import/isnanl-nolibm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698