diff options
author | Pedro Alves <palves@redhat.com> | 2010-08-19 17:00:58 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-08-19 17:00:58 +0000 |
commit | e7fbb131d42983eec31231f8bb69cdd8d5a33ee6 (patch) | |
tree | 7c793bdbbfe7395f00891040ef36265a7afd3223 /gdb/testsuite/gdb.python/py-shared-sl.c | |
parent | d30f5e1f70ffa9fab08ccdacdba1bd6365d2511d (diff) | |
download | gdb-e7fbb131d42983eec31231f8bb69cdd8d5a33ee6.zip gdb-e7fbb131d42983eec31231f8bb69cdd8d5a33ee6.tar.gz gdb-e7fbb131d42983eec31231f8bb69cdd8d5a33ee6.tar.bz2 |
* gdb.python/py-shared.exp: New file, factored out from
python.exp.
* gdb.python/py-shared.c: New file.
* gdb.python/py-shared-sl.c: New file.
* gdb.python/python-1.c: New file.
* gdb.python/python-sl.c: Delete.
* gdb.python/python.c: Mention python-1.c.
* gdb.python/python.exp: Move shared library tests to
py-shared.exp.
* gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
(MISCELLANEOUS): New.
(clean mostlyclean): Also remove $MISCELLANEOUS.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-shared-sl.c')
-rw-r--r-- | gdb/testsuite/gdb.python/py-shared-sl.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-shared-sl.c b/gdb/testsuite/gdb.python/py-shared-sl.c new file mode 100644 index 0000000..579a74e --- /dev/null +++ b/gdb/testsuite/gdb.python/py-shared-sl.c @@ -0,0 +1,26 @@ +/* This testcase is part of GDB, the GNU debugger. + + Copyright 2010 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/>. */ + +void func1 () +{ + return; +} + +int func2 () +{ + return 0; +} |