aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Muldoon <pmuldoon@redhat.com>2011-03-15 16:41:42 +0000
committerPhil Muldoon <pmuldoon@redhat.com>2011-03-15 16:41:42 +0000
commit959e74695a0c720db6f0f5c61d72d7db63a2ab6d (patch)
tree1df864e6b24f5693396967e91d9dd5cd577cacc8
parent6ced15815d5cc6cdd26036bdb3341bad0a4cda47 (diff)
downloadgdb-959e74695a0c720db6f0f5c61d72d7db63a2ab6d.zip
gdb-959e74695a0c720db6f0f5c61d72d7db63a2ab6d.tar.gz
gdb-959e74695a0c720db6f0f5c61d72d7db63a2ab6d.tar.bz2
2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
* lib/gdb.exp (gdb_unload): Add another termination case.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/lib/gdb.exp5
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5af19b3..5f0cb6c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
+
+ * lib/gdb.exp (gdb_unload): Add another termination case.
+
2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-empty-pc-range.S: New file.
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 1b601af..6a2f1a2 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -137,9 +137,8 @@ proc gdb_unload {} {
gdb_expect 60 {
-re "No executable file now\[^\r\n\]*\[\r\n\]" { exp_continue }
-re "No symbol file now\[^\r\n\]*\[\r\n\]" { exp_continue }
- -re "A program is being debugged already..*Kill it.*y or n. $"\
- { send_gdb "y\n"
- verbose "\t\tKilling previous program being debugged"
+ -re "A program is being debugged already.*Are you sure you want to change the file.*y or n. $" {
+ send_gdb "y\n"
exp_continue
}
-re "Discard symbol table from .*y or n.*$" {