* config/slite-gdb.exp: Responds to load symbol table prompt.
authorKung Hsu <kung@cygnus>
Sat, 1 Apr 1995 00:16:39 +0000 (00:16 +0000)
committerKung Hsu <kung@cygnus>
Sat, 1 Apr 1995 00:16:39 +0000 (00:16 +0000)
gdb/testsuite/config/slite-gdb.exp

index cbab074..84d3a1c 100644 (file)
@@ -70,6 +70,10 @@ proc gdb_load { arg } {
            send "y\n"
            exp_continue
        }
+        -re "Load new symbol table.*y or n. $" {
+           send "y\n"
+           exp_continue
+       }
        -re "Reading symbols from.*done..*$prompt $" {}
        -re "$prompt $" { perror "GDB couldn't read file" }
        timeout { perror "(timeout) read symbol file" ; return -1 }