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.
This commit is contained in:
Pedro Alves 2011-05-20 17:41:04 +00:00
parent f148b27e2c
commit b275f2d2f2
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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 ()