This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.base/return-no ...
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 18 Mar 2009 15:36:02 -0000
- Subject: src/gdb/testsuite ChangeLog gdb.base/return-no ...
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2009-03-18 15:36:01
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: return-nodebug.c return-nodebug.exp
Added files:
gdb/testsuite/gdb.base: return-nodebug1.c
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1829&r2=1.1830
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/return-nodebug1.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/return-nodebug.c.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/return-nodebug.exp.diff?cvsroot=src&r1=1.1&r2=1.2