This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] corefile.exp regexp fix
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH] corefile.exp regexp fix
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Mon, 02 Jul 2001 14:53:45 -0700
- Organization: Red Hat
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.