]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
* return-nodebug.c: Don't include stdio.h.
authorPedro Alves <palves@redhat.com>
Wed, 18 Mar 2009 15:36:01 +0000 (15:36 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 18 Mar 2009 15:36:01 +0000 (15:36 +0000)
commit51272cf2e948babb8d236bb5525db2154db02207
tree423cdebf6a49220c63418e4450e01ba88205ab0b
parent42e5fcbf34e8d4850abaef7b3e6021348e59eedd
* 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
gdb/testsuite/gdb.base/return-nodebug.c
gdb/testsuite/gdb.base/return-nodebug.exp
gdb/testsuite/gdb.base/return-nodebug1.c [new file with mode: 0644]