aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.stabs/weird.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-07-24 20:38:08 +0000
committerDaniel Jacobowitz <drow@false.org>2006-07-24 20:38:08 +0000
commit4c42eaff630026a1c9589e913d072935fed919c1 (patch)
treeaf7754be431bda48c2d576f4ebf431a1af11c819 /gdb/testsuite/gdb.stabs/weird.exp
parentb05e64e5fe26950eba7f895b31019b8cc598b42d (diff)
downloadfsf-binutils-gdb-4c42eaff630026a1c9589e913d072935fed919c1.zip
fsf-binutils-gdb-4c42eaff630026a1c9589e913d072935fed919c1.tar.gz
fsf-binutils-gdb-4c42eaff630026a1c9589e913d072935fed919c1.tar.bz2
gdb/
* corefile.c (reopen_exec_file): Only check for an open exec file. Use exec_file_attach. * exec.c (exec_open): Make static. (exec_file_command): Don't use target_preopen. Query directly about changing the file. * gdbcore.h (exec_open): Remove prototype. gdb/testsuite/ * gdb.base/completion.exp: Update for change in "file" behavior. * gdb.stabs/weird.exp: Likewise. * lib/mi-support.exp (mi_gdb_file_cmd): Likewise. * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
Diffstat (limited to 'gdb/testsuite/gdb.stabs/weird.exp')
-rw-r--r--gdb/testsuite/gdb.stabs/weird.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp
index 7f67ccb..fca9701 100644
--- a/gdb/testsuite/gdb.stabs/weird.exp
+++ b/gdb/testsuite/gdb.stabs/weird.exp
@@ -313,7 +313,7 @@ gdb_expect 60 {
-re "^file (\[^ \]| +\008)*\r*\n" {
exp_continue
}
- -re "A program is being debugged already. Kill it\\? \\(y or n\\)" {
+ -re "A program is being debugged already.\[\r\n\]+Are you sure you want to change the file\\? \\(y or n\\)" {
send_gdb "y\n"
exp_continue
}