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]

PATCH to testsuite/gdb.c++/namespace.exp


Applied as obvious; gdb doesn't print the full three octal digits for a
null character.

2002-01-10  Jason Merrill  <jason@redhat.com>

	* gdb.c++/namespace.exp: '\0', not '\000'.

*** namespace.exp.~1~	Tue Jan  8 11:46:08 2002
--- namespace.exp	Thu Jan 10 12:55:59 2002
*************** gdb_test "up" ".*main.*" "up from marker
*** 80,86 ****
  
  send_gdb "print 'AAA::c'\n"
  gdb_expect {
!    -re "\\$\[0-9\]* = 0 '\\\\000'\r\n$gdb_prompt $" { pass "print 'AAA::c'" }
     -re ".*$gdb_prompt $" { fail "print 'AAA::c'" }
     timeout { fail "(timeout) print 'AAA::c'" }
  }
--- 80,86 ----
  
  send_gdb "print 'AAA::c'\n"
  gdb_expect {
!    -re "\\$\[0-9\]* = 0 '\\\\0'\r\n$gdb_prompt $" { pass "print 'AAA::c'" }
     -re ".*$gdb_prompt $" { fail "print 'AAA::c'" }
     timeout { fail "(timeout) print 'AAA::c'" }
  }

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