From: Paul Gilliam Date: Tue, 12 Apr 2005 20:14:35 +0000 (+0000) Subject: 2005-04-12 Paul Gilliam X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b593790328927c96effcf1fc3d8d852ab23a5af;p=binutils-gdb.git 2005-04-12 Paul Gilliam * lib/gdb.exp (test_compiler_info): Give argument a default value. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ba5909b1b9a..3962865266a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-04-12 Paul Gilliam + + * lib/gdb.exp (test_compiler_info): Give argument a default value. + 2005-04-08 Daniel Jacobowitz * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 5bef869733b..a41ab3c9f89 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1291,7 +1291,7 @@ proc get_compiler_info {binfile args} { return 0; } -proc test_compiler_info { compiler } { +proc test_compiler_info { {compiler ""} } { global compiler_info # if no arg, return the compiler_info string