aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/basics.c
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-08-26 15:13:17 +0000
committerMichael Chastain <mec@google.com>2004-08-26 15:13:17 +0000
commit5a2e8882dbd066d959d49f3bacc761948f45407d (patch)
treed36fcee09ca94f3429d9ede7e0d38786e4a98a5d /gdb/testsuite/gdb.mi/basics.c
parenta96404235b640e2cef251db52b35652a616b3692 (diff)
downloadgdb-5a2e8882dbd066d959d49f3bacc761948f45407d.zip
gdb-5a2e8882dbd066d959d49f3bacc761948f45407d.tar.gz
gdb-5a2e8882dbd066d959d49f3bacc761948f45407d.tar.bz2
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/basics.c: Include <stdio.h>. * gdb.mi/pthreads.c: Include <stdlib.h>. * gdb.mi/var-cmd.c: Include <stdlib.h>.
Diffstat (limited to 'gdb/testsuite/gdb.mi/basics.c')
-rw-r--r--gdb/testsuite/gdb.mi/basics.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/basics.c b/gdb/testsuite/gdb.mi/basics.c
index 30ee698..0e3c1d8 100644
--- a/gdb/testsuite/gdb.mi/basics.c
+++ b/gdb/testsuite/gdb.mi/basics.c
@@ -1,4 +1,4 @@
-/* Copyright 1999, 2000
+/* Copyright 1999, 2000, 2004
Free Software Foundation, Inc.
This file is part of GDB.
@@ -23,6 +23,8 @@
* on function calls. Useful to test printing frames, stepping, etc.
*/
+#include <stdio.h>
+
int callee4 (void)
{
int A=1;