aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorPaul Gilliam <pgilliam@us.ibm.com>2005-04-12 20:14:35 +0000
committerPaul Gilliam <pgilliam@us.ibm.com>2005-04-12 20:14:35 +0000
commit9b593790328927c96effcf1fc3d8d852ab23a5af (patch)
treeb6e10bb0424a5bfb09710caf5cad24a884393025 /gdb/testsuite
parent338fbd7b1df695b3ae424802dc80051750331e13 (diff)
downloadgdb-9b593790328927c96effcf1fc3d8d852ab23a5af.zip
gdb-9b593790328927c96effcf1fc3d8d852ab23a5af.tar.gz
gdb-9b593790328927c96effcf1fc3d8d852ab23a5af.tar.bz2
2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
* lib/gdb.exp (test_compiler_info): Give argument a default value.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/lib/gdb.exp2
2 files changed, 5 insertions, 1 deletions
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 <pgilliam@us.ibm.com>
+
+ * lib/gdb.exp (test_compiler_info): Give argument a default value.
+
2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
* 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