From 51272cf2e948babb8d236bb5525db2154db02207 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 18 Mar 2009 15:36:01 +0000 Subject: * return-nodebug.c: Don't include stdio.h. (init): Delete. (func): Delete definition and provide extern declaration. (t): New. (main): Don't call printf. Call func and store its result in t. * return-nodebug1.c: New. * return-nodebug.exp: Don't expect stdio output. Instead, print the global variable t. Drop printf formatters and cast types from foreach loop. Don't use prepare_for_testing. Compile return-nodebug.c and return-nodebug1.c in separate steps. Don't define FORMAT or CAST. --- gdb/testsuite/ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gdb/testsuite/ChangeLog') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d28c4cc..784f271 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,17 @@ +2009-03-18 Pedro Alves + + * return-nodebug.c: Don't include stdio.h. + (init): Delete. + (func): Delete definition and provide extern declaration. + (t): New. + (main): Don't call printf. Call func and store its result in t. + * return-nodebug1.c: New. + * return-nodebug.exp: Don't expect stdio output. Instead, print + the global variable t. Drop printf formatters and cast types from + foreach loop. Don't use prepare_for_testing. Compile + return-nodebug.c and return-nodebug1.c in separate steps. Don't + define FORMAT or CAST. + 2009-03-17 Paul Pluzhnikov * gdb.base/solib-display.exp: Disable test for remote targers. -- cgit v1.1