* 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:
Pedro Alves 2010-08-19 17:00:58 +00:00
parent d30f5e1f70
commit e7fbb131d4
8 changed files with 156 additions and 24 deletions

View file

@ -15,7 +15,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Shared library function */
/* In python-1.c. */
extern void func1 (void);
extern int func2 (void);