diff options
author | Pedro Alves <palves@redhat.com> | 2011-05-20 17:41:04 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2011-05-20 17:41:04 +0000 |
commit | b275f2d2f24885f1261c1d1fbc1e683ceb47fa1c (patch) | |
tree | 62de5a30557f2ed03c9c461ae7b869f3599e251b /gdb/testsuite | |
parent | f148b27e2ce9182ad3ec524cb47fabd8f23d13da (diff) | |
download | gdb-b275f2d2f24885f1261c1d1fbc1e683ceb47fa1c.zip gdb-b275f2d2f24885f1261c1d1fbc1e683ceb47fa1c.tar.gz gdb-b275f2d2f24885f1261c1d1fbc1e683ceb47fa1c.tar.bz2 |
2011-05-20 Pedro Alves <pedro@codesourcery.com>
gdb/testsuite/
* gdb.mi/basics.c: Don't include stdio.h or unistd.h.
(callme): Remove printf call.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | 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 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 () |