]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Tue, 15 Mar 2011 16:41:42 +0000 (16:41 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Tue, 15 Mar 2011 16:41:42 +0000 (16:41 +0000)
    * lib/gdb.exp (gdb_unload): Add another termination case.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 5af19b36a5d6d271820041094a77dd47b71cf05c..5f0cb6c8bea5f87db7b2922496fa00f68f30119e 100644 (file)
@@ -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.
index 1b601afc637e97772c48c0db0fe65a45aaa60dc2..6a2f1a22061cc7a8e21b0bd4275aef5efbbefc8a 100644 (file)
@@ -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.*$" {