* 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 cbab074f9cdfacd4ee7e206e69a3bac3d6f073ce..84d3a1c926f26e442e957c6a05bc3e2c40b2ae33 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 }