* lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
This commit is contained in:
parent
50fb79778f
commit
b14f3a01ff
|
@ -1,5 +1,7 @@
|
|||
Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
|
||||
|
||||
* lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
|
||||
|
||||
* gdb.c++/virtfunc.exp: Remove setting of libs variable.
|
||||
|
||||
Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
|
||||
|
|
|
@ -709,16 +709,13 @@ proc default_gdb_start { } {
|
|||
return 0;
|
||||
}
|
||||
|
||||
if [is_remote host] {
|
||||
set res [remote_spawn host "$GDB -nw $GDBFLAGS --command gdbinit"];
|
||||
} else {
|
||||
if ![is_remote host] {
|
||||
if { [which $GDB] == 0 } then {
|
||||
perror "$GDB does not exist."
|
||||
exit 1
|
||||
}
|
||||
|
||||
set res [remote_spawn host "$GDB -nw $GDBFLAGS"];
|
||||
}
|
||||
set res [remote_spawn host "$GDB -nw $GDBFLAGS [host_info gdb_opts]"];
|
||||
if { $res < 0 || $res == "" } {
|
||||
perror "Spawning $GDB failed."
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue