4ec7020176
A few months ago semicolons after "return" were removed throughout the testsuite. However, as I pointed out in review, they're unnecessary not just after "return", but pretty much after any tcl command. ';' is the command separator, and you only need it if there's another command on the same line afterwards. This patch was written by running: $ find . -name "*.exp" | xargs grep -l ";\s*$" | xargs sed -i 's/\([^#][^\s*;]*\)\s*;\s*$/\1/' and then undoing changes to comments, and lib/future.exp. Tested on x86_64 Fedora 17. gdb/testsuite/ 2013-06-07 Pedro Alves <palves@redhat.com> * boards/native-extended-gdbserver.exp: Remove semicolon. * config/arm-ice.exp: Likewise. * config/bfin.exp: Likewise. * config/cygmon.exp: Likewise. * config/h8300.exp: Likewise. * config/monitor.exp: Likewise. * config/sid.exp: Likewise. * config/sim.exp: Likewise. * config/slite.exp: Likewise. * config/vx.exp: Likewise. * gdb.arch/i386-bp_permanent.exp: Likewise. * gdb.asm/asm-source.exp: Likewise. * gdb.base/args.exp: Likewise. * gdb.base/attach-pie-misread.exp: Likewise. * gdb.base/auxv.exp: Likewise. * gdb.base/bigcore.exp: Likewise. * gdb.base/bitfields2.exp: Likewise. * gdb.base/bitfields.exp: Likewise. * gdb.base/break.exp: Likewise. * gdb.base/break-interp.exp: Likewise. * gdb.base/callfuncs.exp: Likewise. * gdb.base/call-sc.exp: Likewise. * gdb.base/commands.exp: Likewise. * gdb.base/corefile.exp: Likewise. * gdb.base/dbx.exp: Likewise. * gdb.base/ending-run.exp: Likewise. * gdb.base/exprs.exp: Likewise. * gdb.base/funcargs.exp: Likewise. * gdb.base/hbreak2.exp: Likewise. * gdb.base/huge.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/memattr.exp: Likewise. * gdb.base/overlays.exp: Likewise. * gdb.base/printcmds.exp: Likewise. * gdb.base/recurse.exp: Likewise. * gdb.base/remotetimeout.exp: Likewise. * gdb.base/reread.exp: Likewise. * gdb.base/savedregs.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/sepdebug.exp: Likewise. * gdb.base/setshow.exp: Likewise. * gdb.base/setvar.exp: Likewise. * gdb.base/sigaltstack.exp: Likewise. * gdb.base/siginfo-addr.exp: Likewise. * gdb.base/siginfo.exp: Likewise. * gdb.base/siginfo-obj.exp: Likewise. * gdb.base/sigrepeat.exp: Likewise. * gdb.base/sigstep.exp: Likewise. * gdb.base/structs.exp: Likewise. * gdb.base/testenv.exp: Likewise. * gdb.base/twice.exp: Likewise. * gdb.base/valgrind-db-attach.exp: Likewise. * gdb.base/valgrind-infcall.exp: Likewise. * gdb.base/varargs.exp: Likewise. * gdb.base/watchpoint.exp: Likewise. * gdb.cp/gdb1355.exp: Likewise. * gdb.cp/misc.exp: Likewise. * gdb.disasm/hppa.exp: Likewise. * gdb.disasm/t01_mov.exp: Likewise. * gdb.disasm/t02_mova.exp: Likewise. * gdb.disasm/t03_add.exp: Likewise. * gdb.disasm/t04_sub.exp: Likewise. * gdb.disasm/t05_cmp.exp: Likewise. * gdb.disasm/t06_ari2.exp: Likewise. * gdb.disasm/t07_ari3.exp: Likewise. * gdb.disasm/t08_or.exp: Likewise. * gdb.disasm/t09_xor.exp: Likewise. * gdb.disasm/t10_and.exp: Likewise. * gdb.disasm/t11_logs.exp: Likewise. * gdb.disasm/t12_bit.exp: Likewise. * gdb.disasm/t13_otr.exp: Likewise. * gdb.gdb/selftest.exp: Likewise. * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise. * gdb.mi/mi-reverse.exp: Likewise. * gdb.pascal/floats.exp: Likewise. * gdb.python/py-inferior.exp: Likewise. * gdb.threads/attach-into-signal.exp: Likewise. * gdb.threads/pthreads.exp: Likewise. * gdb.threads/thread_events.exp: Likewise. * gdb.threads/watchthreads.exp: Likewise. * gdb.trace/actions-changed.exp: Likewise. * gdb.trace/actions.exp: Likewise. * gdb.trace/ax.exp: Likewise. * gdb.trace/backtrace.exp: Likewise. * gdb.trace/change-loc.exp: Likewise. * gdb.trace/deltrace.exp: Likewise. * gdb.trace/disconnected-tracing.exp: Likewise. * gdb.trace/ftrace.exp: Likewise. * gdb.trace/infotrace.exp: Likewise. * gdb.trace/passc-dyn.exp: Likewise. * gdb.trace/passcount.exp: Likewise. * gdb.trace/pending.exp: Likewise. * gdb.trace/qtro.exp: Likewise. * gdb.trace/range-stepping.exp: Likewise. * gdb.trace/report.exp: Likewise. * gdb.trace/save-trace.exp: Likewise. * gdb.trace/status-stop.exp: Likewise. * gdb.trace/strace.exp: Likewise. * gdb.trace/tfile.exp: Likewise. * gdb.trace/tfind.exp: Likewise. * gdb.trace/trace-break.exp: Likewise. * gdb.trace/tracecmd.exp: Likewise. * gdb.trace/trace-mt.exp: Likewise. * gdb.trace/tspeed.exp: Likewise. * gdb.trace/tsv.exp: Likewise. * gdb.trace/while-stepping.exp: Likewise. * lib/gdb.exp: Likewise. * lib/gdbserver-support.exp: Likewise. * lib/java.exp: Likewise. * lib/mi-support.exp: Likewise. * lib/pascal.exp: Likewise. * lib/prompt.exp: Likewise. * lib/trace-support.exp: Likewise. |
||
---|---|---|
.. | ||
abstract-origin.cc | ||
abstract-origin.exp | ||
ambiguous.cc | ||
ambiguous.exp | ||
annota2.cc | ||
annota2.exp | ||
annota3.cc | ||
annota3.exp | ||
anon-ns.cc | ||
anon-ns.exp | ||
anon-struct.cc | ||
anon-struct.exp | ||
anon-union.cc | ||
anon-union.exp | ||
arg-reference.cc | ||
arg-reference.exp | ||
baseenum.cc | ||
baseenum.exp | ||
bool.cc | ||
bool.exp | ||
breakpoint.cc | ||
breakpoint.exp | ||
bs15503.cc | ||
bs15503.exp | ||
call-c-1.c | ||
call-c.cc | ||
call-c.exp | ||
casts.cc | ||
casts.exp | ||
class2.cc | ||
class2.exp | ||
classes.cc | ||
classes.exp | ||
cmpd-minsyms.cc | ||
cmpd-minsyms.exp | ||
converts.cc | ||
converts.exp | ||
cp-relocate.cc | ||
cp-relocate.exp | ||
cpcompletion.exp | ||
cpexprs.cc | ||
cpexprs.exp | ||
cplabel.cc | ||
cplabel.exp | ||
cplusfuncs.cc | ||
cplusfuncs.exp | ||
ctti.exp | ||
cttiadd.cc | ||
cttiadd1.cc | ||
cttiadd2.cc | ||
cttiadd3.cc | ||
debug-expr.exp | ||
demangle.exp | ||
derivation.cc | ||
derivation.exp | ||
derivation2.cc | ||
destrprint.cc | ||
destrprint.exp | ||
dispcxx.cc | ||
dispcxx.exp | ||
exception.cc | ||
exception.exp | ||
exceptprint.cc | ||
exceptprint.exp | ||
expand-psymtabs-cxx.cc | ||
expand-psymtabs-cxx.exp | ||
expand-sals.cc | ||
expand-sals.exp | ||
extern-c.cc | ||
extern-c.exp | ||
formatted-ref.cc | ||
formatted-ref.exp | ||
fpointer.cc | ||
fpointer.exp | ||
gdb1355.cc | ||
gdb1355.exp | ||
gdb2384-base.cc | ||
gdb2384-base.h | ||
gdb2384.cc | ||
gdb2384.exp | ||
gdb2495.cc | ||
gdb2495.exp | ||
hang.exp | ||
hang.H | ||
hang1.cc | ||
hang2.cc | ||
hang3.cc | ||
infcall-dlopen-lib.cc | ||
infcall-dlopen.cc | ||
infcall-dlopen.exp | ||
inherit.exp | ||
koenig.cc | ||
koenig.exp | ||
local.cc | ||
local.exp | ||
m-data.cc | ||
m-data.exp | ||
m-static.cc | ||
m-static.exp | ||
m-static.h | ||
m-static1.cc | ||
maint.exp | ||
Makefile.in | ||
mb-ctor.cc | ||
mb-ctor.exp | ||
mb-inline.exp | ||
mb-inline.h | ||
mb-inline1.cc | ||
mb-inline2.cc | ||
mb-templates.cc | ||
mb-templates.exp | ||
member-name.cc | ||
member-name.exp | ||
member-ptr.cc | ||
member-ptr.exp | ||
meth-typedefs.cc | ||
meth-typedefs.exp | ||
method.cc | ||
method.exp | ||
method2.cc | ||
method2.exp | ||
minsym-fallback-main.cc | ||
minsym-fallback.cc | ||
minsym-fallback.exp | ||
minsym-fallback.h | ||
misc.cc | ||
misc.exp | ||
namespace-enum-main.cc | ||
namespace-enum.cc | ||
namespace-enum.exp | ||
namespace-nested-import.cc | ||
namespace-nested-import.exp | ||
namespace.cc | ||
namespace.exp | ||
namespace1.cc | ||
nextoverthrow.cc | ||
nextoverthrow.exp | ||
no-dmgl-verbose.cc | ||
no-dmgl-verbose.exp | ||
noparam.cc | ||
noparam.exp | ||
nsdecl.cc | ||
nsdecl.exp | ||
nsimport.cc | ||
nsimport.exp | ||
nsnested.cc | ||
nsnested.exp | ||
nsnoimports.cc | ||
nsnoimports.exp | ||
nsrecurs.cc | ||
nsrecurs.exp | ||
nsstress.cc | ||
nsstress.exp | ||
nsusing.cc | ||
nsusing.exp | ||
operator.cc | ||
operator.exp | ||
oranking.cc | ||
oranking.exp | ||
overload-const.cc | ||
overload-const.exp | ||
overload.cc | ||
overload.exp | ||
ovldbreak.cc | ||
ovldbreak.exp | ||
ovsrch.exp | ||
ovsrch.h | ||
ovsrch1.cc | ||
ovsrch2.cc | ||
ovsrch3.cc | ||
ovsrch4.cc | ||
paren-type.cc | ||
paren-type.exp | ||
parse-lang.cc | ||
parse-lang.exp | ||
pass-by-ref.cc | ||
pass-by-ref.exp | ||
pr-574.cc | ||
pr-574.exp | ||
pr-1023.cc | ||
pr-1023.exp | ||
pr-1210.cc | ||
pr-1210.exp | ||
pr9067.cc | ||
pr9067.exp | ||
pr9167.cc | ||
pr9167.exp | ||
pr9594.cc | ||
pr9631.cc | ||
pr9631.exp | ||
pr10687.cc | ||
pr10687.exp | ||
pr10728-x.cc | ||
pr10728-x.h | ||
pr10728-y.cc | ||
pr10728.exp | ||
pr12028.cc | ||
pr12028.exp | ||
printmethod.cc | ||
printmethod.exp | ||
psmang.exp | ||
psmang1.cc | ||
psmang2.cc | ||
psymtab-parameter.cc | ||
psymtab-parameter.exp | ||
ptype-cv-cp.cc | ||
ptype-cv-cp.exp | ||
ptype-flags.cc | ||
ptype-flags.exp | ||
punctuator.exp | ||
re-set-overloaded.cc | ||
re-set-overloaded.exp | ||
readnow-language.cc | ||
readnow-language.exp | ||
ref-params.cc | ||
ref-params.exp | ||
ref-types.cc | ||
ref-types.exp | ||
rtti.exp | ||
rtti.h | ||
rtti1.cc | ||
rtti2.cc | ||
shadow.cc | ||
shadow.exp | ||
smartp.cc | ||
smartp.exp | ||
static-method.cc | ||
static-method.exp | ||
static-print-quit.cc | ||
static-print-quit.exp | ||
temargs.cc | ||
temargs.exp | ||
templates.cc | ||
templates.exp | ||
try_catch.cc | ||
try_catch.exp | ||
typedef-operator.cc | ||
typedef-operator.exp | ||
typeid.cc | ||
typeid.exp | ||
userdef.cc | ||
userdef.exp | ||
using-crash.cc | ||
using-crash.exp | ||
virtbase.cc | ||
virtbase.exp | ||
virtfunc.cc | ||
virtfunc.exp | ||
virtfunc2.cc | ||
virtfunc2.exp |