* gdb.base/charset.exp: Only send a control-C if we see a new
prompt and incomplete command.
This commit is contained in:
parent
782263ab3a
commit
1b413552e1
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -140,7 +140,7 @@ gdb_expect {
|
||||
# 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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user