summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/solib-search.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-05-06 22:20:18 +0000
committerDoug Evans <dje@google.com>2013-05-06 22:20:18 +0000
commitb490dc7610f05ed3a3eb9227c82cf1a5cf8f7c97 (patch)
treefd0793b5ca503c15511470afe4c9ef041a9a4ca1 /gdb/testsuite/gdb.base/solib-search.c
parentd9b323ee990314df7981c2d599e932606abc74a4 (diff)
downloadgdb-b490dc7610f05ed3a3eb9227c82cf1a5cf8f7c97.tar.gz
* gdb.base/solib-search-lib1.c: New file.
* gdb.base/solib-search-lib2.c: New file. * gdb.base/solib-search.c: New file. * gdb.base/solib-search.h: New file. * gdb.base/solib-search.exp: New file.
Diffstat (limited to 'gdb/testsuite/gdb.base/solib-search.c')
-rw-r--r--gdb/testsuite/gdb.base/solib-search.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/solib-search.c b/gdb/testsuite/gdb.base/solib-search.c
new file mode 100644
index 00000000000..106c6eadfbc
--- /dev/null
+++ b/gdb/testsuite/gdb.base/solib-search.c
@@ -0,0 +1,31 @@
+/* This test program is part of GDB, the GNU debugger.
+
+ 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
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ 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/>.
+ */
+
+#include "solib-search.h"
+
+int
+main ()
+{
+ lib1_func1 ();
+ return 0;
+}
+
+void
+break_here ()
+{
+}