2005-03-14 Paul Brook <paul@codesourcery.com>
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote targets.
This commit is contained in:
parent
5ef6bac796
commit
8e3049aa8c
2 changed files with 8 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-03-14 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
|
||||||
|
targets.
|
||||||
|
|
||||||
2005-03-09 Joel Brobecker <brobecker@adacore.com>
|
2005-03-09 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* gdb.dwarf2/dup-psym.S: New file.
|
* gdb.dwarf2/dup-psym.S: New file.
|
||||||
|
|
|
@ -494,15 +494,10 @@ proc mi_gdb_load { arg } {
|
||||||
}
|
}
|
||||||
} elseif { [target_info gdb_protocol] == "remote" } {
|
} elseif { [target_info gdb_protocol] == "remote" } {
|
||||||
# remote targets
|
# remote targets
|
||||||
send_gdb "target [target_info gdb_protocol] [target_info netport]\n"
|
if { [mi_gdb_target_cmd "remote" [target_info netport]] != 0 } {
|
||||||
gdb_expect 60 {
|
|
||||||
-re "\\^done,.*$mi_gdb_prompt$" {
|
|
||||||
}
|
|
||||||
timeout {
|
|
||||||
perror "Unable to connect to remote target"
|
perror "Unable to connect to remote target"
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
}
|
|
||||||
send_gdb "48-target-download\n"
|
send_gdb "48-target-download\n"
|
||||||
gdb_expect 10 {
|
gdb_expect 10 {
|
||||||
-re "48\\^done.*$mi_gdb_prompt$" {
|
-re "48\\^done.*$mi_gdb_prompt$" {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue