Index: gdb/testsuite/gdb.base/info-shared-solib2.c |
diff --git a/gdb/testsuite/gdb.python/py-progspace.c b/gdb/testsuite/gdb.base/info-shared-solib2.c |
similarity index 85% |
copy from gdb/testsuite/gdb.python/py-progspace.c |
copy to gdb/testsuite/gdb.base/info-shared-solib2.c |
index 53825a6abefc9207eb89acb38fa6942120477ef5..173e6a62aace32f5f61565189568265e948d797a 100644 |
--- a/gdb/testsuite/gdb.python/py-progspace.c |
+++ b/gdb/testsuite/gdb.base/info-shared-solib2.c |
@@ -1,6 +1,4 @@ |
-/* This testcase is part of GDB, the GNU debugger. |
- |
- Copyright 2010-2012 Free Software Foundation, Inc. |
+/* Copyright 2012-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 |
@@ -15,8 +13,12 @@ |
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 <stdio.h> |
+ |
int |
-main () |
+bar (int n) |
{ |
+ printf ("bar %d\n", n); |
+ |
return 0; |
} |