prompt and incomplete command.
+2004-06-18 Jim Blandy <jimb@redhat.com>
+
+ * gdb.base/charset.exp: Only send a control-C if we see a new
+ prompt and incomplete command.
+
2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-574.cc: Add copyright notice.
# We got some output that ended with a regular prompt
fail "get valid character sets"
}
- -re "^set charset.*$" {
+ -re ".*$gdb_prompt set charset.*$" {
# We got some other output, send a cntrl-c to gdb to get us back
# to the prompt.
send_gdb "\003"