This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[OBVIOUS] fix test_compiler_info
- From: Paul Gilliam <pgilliam at us dot ibm dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 12 Apr 2005 09:57:45 -0800
- Subject: [OBVIOUS] fix test_compiler_info
- Reply-to: pgilliam at us dot ibm dot com
In about I'm going to commit the following patch as obvious, unless I get yelled at:
2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
* lib/gdb.exp (test_compiler_info): Give argument a default value.
Index: lib/gdb.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v
retrieving revision 1.59
diff -c -3 -p -r1.59 gdb.exp
*** lib/gdb.exp 6 Apr 2005 21:38:48 -0000 1.59
--- lib/gdb.exp 12 Apr 2005 17:45:05 -0000
*************** proc get_compiler_info {binfile args} {
*** 1291,1297 ****
return 0;
}
! proc test_compiler_info { compiler } {
global compiler_info
# if no arg, return the compiler_info string
--- 1291,1297 ----
return 0;
}
! proc test_compiler_info { {compiler ""} } {
global compiler_info
# if no arg, return the compiler_info string