From b275f2d2f24885f1261c1d1fbc1e683ceb47fa1c Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 20 May 2011 17:41:04 +0000 Subject: [PATCH] 2011-05-20 Pedro Alves gdb/testsuite/ * gdb.mi/basics.c: Don't include stdio.h or unistd.h. (callme): Remove printf call. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.mi/basics.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index dd9403761c4..df51d61861d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-05-20 Pedro Alves + + * gdb.mi/basics.c: Don't include stdio.h or unistd.h. + (callme): Remove printf call. + 2011-05-20 Pierre Muller * 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 a95dfb0cea5..55a4c644492 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 -#include - 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 () -- 2.30.2