aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config/est.exp
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1995-04-20 00:46:15 +0000
committerStu Grossman <grossman@cygnus>1995-04-20 00:46:15 +0000
commit43967a761c12c0573c3f233c5bce6cc91614e167 (patch)
treeaee6c9a11426ea8c6370f5921a96f306ad30aa4d /gdb/testsuite/config/est.exp
parent7486c68d68b7b18836ca337723adb5e227711bf1 (diff)
downloadgdb-43967a761c12c0573c3f233c5bce6cc91614e167.zip
gdb-43967a761c12c0573c3f233c5bce6cc91614e167.tar.gz
gdb-43967a761c12c0573c3f233c5bce6cc91614e167.tar.bz2
* config/est.exp: Fix copyright and comments. Remove dead code.
Use targetname, serialport and baud variables instead of fixed constants. * config/rom68k.exp: Fix copyright and comments. Remove dead code. * config/cpu32bug.exp: New file to support cpu32bug monitors.
Diffstat (limited to 'gdb/testsuite/config/est.exp')
-rw-r--r--gdb/testsuite/config/est.exp18
1 files changed, 6 insertions, 12 deletions
diff --git a/gdb/testsuite/config/est.exp b/gdb/testsuite/config/est.exp
index e0549b2..4164daf 100644
--- a/gdb/testsuite/config/est.exp
+++ b/gdb/testsuite/config/est.exp
@@ -1,5 +1,5 @@
# Test Framework Driver for GDB driving the EST
-# Copyright 1994 Free Software Foundation, Inc.
+# Copyright 1995 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -26,13 +26,16 @@ proc gdb_version {} {
#
# gdb_target_est
-# Set gdb to target the simulator
+# Set gdb to target the monitor
#
proc gdb_target_est { } {
global prompt
global exit_status
+ global targetname
+ global serialport
+ global baud
- send "target est /dev/ttyb\n"
+ send "target $targetname $serialport\n"
set timeout 60
expect {
-re "Remote target est connected to.*$prompt $" {
@@ -90,8 +93,6 @@ proc gdb_load { arg } {
#
proc gdb_start { } {
default_gdb_start
-# verbose "Setting up target, Please wait..."
-# gdb_target_est
}
#
@@ -102,10 +103,3 @@ proc gdb_exit { } {
}
gdb_start
-
-# make sure gdb has actually started, otherwise if the first test
-# timesout, DejaGnu crashes
-#send "\n"
-#expect {
-# -re "$prompt"
-# }