[commit] Update m-static.exp test for optimised -> optimized
Doug Evans
dje@google.com
Sun Jun 27 17:18:00 GMT 2010
Hi.
Missed this in earlier patch to fix the spelling of "optimized".
Committed.
2010-06-27 Doug Evans <dje@google.com>
testsuite/
* gdb.cp/m-static.exp: Update expected test output.
Index: gdb.cp/m-static.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/m-static.exp,v
retrieving revision 1.11
diff -u -p -r1.11 m-static.exp
--- gdb.cp/m-static.exp 5 May 2010 18:06:58 -0000 1.11
+++ gdb.cp/m-static.exp 27 Jun 2010 17:16:20 -0000
@@ -123,7 +123,7 @@ gdb_test "print test3.data.value_derived
gdb_test "print test4.elsewhere" "\\$\[0-9\].* = 221" "static const int initialized elsewhere"
# static const int that nobody initializes. From PR gdb/635.
-gdb_test "print test4.nowhere" "field nowhere is nonexistent or has been optimised out" "static const int initialized nowhere"
+gdb_test "print test4.nowhere" "field nowhere is nonexistent or has been optimized out" "static const int initialized nowhere"
# Perhaps at some point test4 should also include a test for a static
# const int that was initialized in the header file. But I'm not sure
More information about the Gdb-patches
mailing list