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:
parent
f148b27e2c
commit
b275f2d2f2
2 changed files with 5 additions and 4 deletions
|
@ -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>
|
2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||||
|
|
||||||
* lib/gdb.exp (gdb_test_list_exact): Suggest use of double
|
* lib/gdb.exp (gdb_test_list_exact): Suggest use of double
|
||||||
|
|
|
@ -21,9 +21,6 @@ Free Software Foundation, Inc.
|
||||||
* on function calls. Useful to test printing frames, stepping, etc.
|
* on function calls. Useful to test printing frames, stepping, etc.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
int callee4 (void)
|
int callee4 (void)
|
||||||
{
|
{
|
||||||
int A=1;
|
int A=1;
|
||||||
|
@ -50,7 +47,6 @@ callee1 (int intarg, char *strarg, double fltarg)
|
||||||
|
|
||||||
void callme (int i)
|
void callme (int i)
|
||||||
{
|
{
|
||||||
printf ("callme\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int return_1 ()
|
int return_1 ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue