summaryrefslogtreecommitdiff
path: root/gdb/testsuite/config/vx.exp
diff options
context:
space:
mode:
authorBob Manson <manson@cygnus>1997-02-02 07:59:25 +0000
committerBob Manson <manson@cygnus>1997-02-02 07:59:25 +0000
commit85fbaa747f9edd4184cce516c8804bb4553e08f7 (patch)
tree3011762b44f70c7e2abfd700004d1d0652c831a9 /gdb/testsuite/config/vx.exp
parente385d6e03e0733be01c51d24588b981c9e928d6c (diff)
downloadbinutils-gdb-85fbaa747f9edd4184cce516c8804bb4553e08f7.tar.gz
* gdb.*/*.exp: Replace $prompt with $gdb_prompt.
* gdb.base/scope.exp: Use gdb_test. * gdb.c++/classes.exp: Ditto. * gdb.c++/inherit.exp: Ditto. More random cleanups. Still lots to go, however.
Diffstat (limited to 'gdb/testsuite/config/vx.exp')
-rw-r--r--gdb/testsuite/config/vx.exp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/testsuite/config/vx.exp b/gdb/testsuite/config/vx.exp
index c2b2632b1e7..daf826e866c 100644
--- a/gdb/testsuite/config/vx.exp
+++ b/gdb/testsuite/config/vx.exp
@@ -27,7 +27,7 @@ load_lib gdb.exp
load_lib vxworks.exp
set shell_prompt "->"
-set prompt "\\(vxgdb\\)"
+set gdb_prompt "\\(vxgdb\\)"
#
# gdb_version -- extract and print the version number of gcc
@@ -57,7 +57,7 @@ proc gdb_load { arg } {
# gdb_start -- start gdb running
#
proc gdb_start { } {
- global prompt
+ global gdb_prompt
global verbose
global connectmode
global reboot
@@ -100,7 +100,7 @@ proc gdb_start { } {
}
proc spawn_vxgdb { } {
- global prompt
+ global gdb_prompt
global verbose
default_gdb_start
@@ -108,7 +108,7 @@ proc spawn_vxgdb { } {
# set the default arguments to "main", so that "run" with no
# arguments will work correctly.
send "set args main\n"
- expect -re ".*$prompt $" {}
+ expect -re ".*$gdb_prompt $" {}
verbose "Setting up target, Please wait..."
# set targets hostname
@@ -116,7 +116,7 @@ proc spawn_vxgdb { } {
set timeout 60
verbose "Timeout is now $timeout seconds" 2
expect {
- -re "Done\..*$prompt $" {
+ -re "Done\..*$gdb_prompt $" {
verbose "Set target to [target_info netport]" 1
}
-re "net_connect: RPC: Program not registered.*$" {