aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-events.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/py-events.c')
-rw-r--r--gdb/testsuite/gdb.python/py-events.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-events.c b/gdb/testsuite/gdb.python/py-events.c
index 665ca51..c20cc84 100644
--- a/gdb/testsuite/gdb.python/py-events.c
+++ b/gdb/testsuite/gdb.python/py-events.c
@@ -16,6 +16,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+extern void do_nothing (void);
+
int second(){
fork() ;
return 12;
@@ -26,5 +28,6 @@ int first(){
}
int main (){
+ do_nothing();
return first();
}