This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[OBVIOUS] fix test_compiler_info


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]