aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.mi/basics.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index dd94037..df51d61 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-20 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
+ (callme): Remove printf call.
+
2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (gdb_test_list_exact): Suggest use of double
diff --git a/gdb/testsuite/gdb.mi/basics.c b/gdb/testsuite/gdb.mi/basics.c
index a95dfb0..55a4c64 100644
--- a/gdb/testsuite/gdb.mi/basics.c
+++ b/gdb/testsuite/gdb.mi/basics.c
@@ -21,9 +21,6 @@ Free Software Foundation, Inc.
* on function calls. Useful to test printing frames, stepping, etc.
*/
-#include <stdio.h>
-#include <unistd.h>
-
int callee4 (void)
{
int A=1;
@@ -50,7 +47,6 @@ callee1 (int intarg, char *strarg, double fltarg)
void callme (int i)
{
- printf ("callme\n");
}
int return_1 ()