uninitialized value of "description".
+2014-04-15 Doug Evans <dje@google.com>
+
+ * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
+ uninitialized value of "description".
+
2014-04-15 Keith Seitz <keiths@redhat.com>
* gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
set command "next"
}
-re ".*$gdb_prompt $" {
- fail "unknown source line after $description"
+ # If $description hasn't been set yet, it's likely the file
+ # has been edited but gdb hasn't been recompiled.
+ if [info exists description] {
+ fail "unknown source line (after $description)"
+ } else {
+ fail "unknown source line"
+ }
return
}
default {