Index: gdb/testsuite/gdb.base/solib-search.c |
diff --git a/gdb/testsuite/gdb.base/float.c b/gdb/testsuite/gdb.base/solib-search.c |
similarity index 84% |
copy from gdb/testsuite/gdb.base/float.c |
copy to gdb/testsuite/gdb.base/solib-search.c |
index e2f5a5a4c0125d1de3ca574dbaa6340dadfbd162..f0a38b3f03d83c5754381438027ac85b7f8ded0a 100644 |
--- a/gdb/testsuite/gdb.base/float.c |
+++ b/gdb/testsuite/gdb.base/solib-search.c |
@@ -1,6 +1,6 @@ |
/* This test program is part of GDB, the GNU debugger. |
- Copyright 2011-2012 Free Software Foundation, Inc. |
+ Copyright 2013 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,20 +13,18 @@ |
GNU General Public License for more details. |
You should have received a copy of the GNU General Public License |
- along with this program. If not, see <http://www.gnu.org/licenses/>. |
- */ |
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
-float |
-foo () |
-{ |
- float x = 0.0; |
- x = 1.0 / x; |
- return x; |
-} |
+#include "solib-search.h" |
int |
main () |
{ |
- foo (); |
+ lib1_func1 (); |
return 0; |
} |
+ |
+void |
+break_here () |
+{ |
+} |