mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
Fix detach.exp remote check
This test seems to work with both native-gdbserver and native-extended-gdbserver, so I removed the remote check. When running with native-gdbserver (a stub-like target), detach makes gdbserver stop and gdb disconnect. runto_main just spawns a brand new gdbserver. So it tests the exact same thing twice. It doesn't hurt though. With native-extended-gdbserver, the test is probably a bit more useful (and similar to native). It tests running/detaching twice using the same gdb/gdbserver instances, since with extended-remote, you can detach/attach/run all you want, unlike with remote. gdb/testsuite/ChangeLog: * gdb.base/detach.exp: Remove is_remote check.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
|
* gdb.base/detach.exp: Remove is_remote check.
|
||||||
|
|
||||||
2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
|
2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
* gdb.base/annota-input-while-running.exp: Don't check for
|
* gdb.base/annota-input-while-running.exp: Don't check for
|
||||||
|
@ -22,11 +22,6 @@ if { ! [istarget "*-*-linux*"] } {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# Are we on a target board?
|
|
||||||
if [is_remote target] then {
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile attach.c
|
standard_testfile attach.c
|
||||||
set escapedbinfile [string_to_regexp ${binfile}]
|
set escapedbinfile [string_to_regexp ${binfile}]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user