From 9b593790328927c96effcf1fc3d8d852ab23a5af Mon Sep 17 00:00:00 2001 From: Paul Gilliam Date: Tue, 12 Apr 2005 20:14:35 +0000 Subject: [PATCH] 2005-04-12 Paul Gilliam * lib/gdb.exp (test_compiler_info): Give argument a default value. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/lib/gdb.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ba5909b..3962865 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 5bef869..a41ab3c 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 -- 2.7.4