This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.base/skip.c gd ...
- From: willnewton at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Tue, 18 Jun 2013 18:16:16 +0000
- Subject: src/gdb/testsuite ChangeLog gdb.base/skip.c gd ...
CVSROOT: /cvs/src
Module name: src
Changes by: willnewton@sourceware.org 2013-06-18 18:16:16
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.base: skip.c skip1.c
Log message:
testsuite/gdb.base: Make skip test use defined behaviour.
The skip test currently relies on the order of evaluation of
arguments which is not defined. Use the comma operator where
order is defined instead.
gdb/testsuite/ChangeLog:
2013-06-18 Will Newton <will.newton@linaro.org>
* gdb.base/skip.c: Use comma to evaluate results of foo()
and bar() before passing to baz().
* gdb.base/skip.c: baz() now takes one argument instead of
two.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3697&r2=1.3698
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/skip.c.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/skip1.c.diff?cvsroot=src&r1=1.1&r2=1.2