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]

[PATCH] corefile.exp regexp fix


 
2001-07-02  Michael Snyder  <msnyder@redhat.com>

	* gdb.base/corefile.exp: Quote the curly braces in regexp.

Index: corefile.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/corefile.exp,v
retrieving revision 1.3
diff -c -3 -p -r1.3 corefile.exp
*** corefile.exp	2001/03/06 08:21:50	1.3
--- corefile.exp	2001/07/02 21:51:40
*************** gdb_test "print coremaker_data" "\\\$$de
*** 189,195 ****
  gdb_test "print coremaker_bss" "\\\$$decimal = 10"
  gdb_test "print coremaker_ro" "\\\$$decimal = 201"
  
! gdb_test "print func2::coremaker_local" "\\\$$decimal = {0, 1, 2, 3, 4}"
  
  # Somehow we better test the ability to read the registers out of the core
  # file correctly.  I don't think the other tests do this.
--- 189,195 ----
  gdb_test "print coremaker_bss" "\\\$$decimal = 10"
  gdb_test "print coremaker_ro" "\\\$$decimal = 201"
  
! gdb_test "print func2::coremaker_local" "\\\$$decimal = \\{0, 1, 2, 3, 4\\}"
  
  # Somehow we better test the ability to read the registers out of the core
  # file correctly.  I don't think the other tests do this.

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