diff options
author | Doug Evans <dje@google.com> | 2013-05-06 22:20:18 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-05-06 22:20:18 +0000 |
commit | b903e17e961ef45c2cfa76e5b65a3f25e55398ed (patch) | |
tree | da2f39652a7120400c42e097962d8cb6a13eccd1 /gdb/testsuite/gdb.base/solib-search.h | |
parent | 0892cb63bda9ac0bb2dea19d04ea35b2b54429d6 (diff) | |
download | gdb-b903e17e961ef45c2cfa76e5b65a3f25e55398ed.zip gdb-b903e17e961ef45c2cfa76e5b65a3f25e55398ed.tar.gz gdb-b903e17e961ef45c2cfa76e5b65a3f25e55398ed.tar.bz2 |
* 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.h')
-rw-r--r-- | gdb/testsuite/gdb.base/solib-search.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/solib-search.h b/gdb/testsuite/gdb.base/solib-search.h new file mode 100644 index 0000000..b75d4ff --- /dev/null +++ b/gdb/testsuite/gdb.base/solib-search.h @@ -0,0 +1,32 @@ +/* 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/>. + */ + +#ifndef GDB_BASE_SOLIB_SEARCH_H +#define GDB_BASE_SOLIB_SEARCH_H + +/* These functions create a call chain that traverses both libs. */ + +extern void lib1_func1 (void); +extern void lib1_func3 (void); + +extern void lib2_func2 (void); +extern void lib2_func4 (void); + +extern void break_here (void); + +#endif /* GDB_BASE_SOLIB_SEARCH_H */ |