mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
* 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.
This commit is contained in:
26
gdb/testsuite/gdb.python/py-shared-sl.c
Normal file
26
gdb/testsuite/gdb.python/py-shared-sl.c
Normal file
@ -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;
|
||||
}
|
Reference in New Issue
Block a user