diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2016-05-02 13:04:42 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2016-05-02 13:04:56 -0400 |
commit | 740feeaa2049d0f9a7e5928191124583a1a8c645 (patch) | |
tree | 4d2ad58f28c7f2f6657d0a81ed413ed7686b23b6 /gdb/testsuite/gdb.base/detach.exp | |
parent | 1270fac69d2f7e89161ccb780ce3b17466da34ea (diff) | |
download | gdb-740feeaa2049d0f9a7e5928191124583a1a8c645.zip gdb-740feeaa2049d0f9a7e5928191124583a1a8c645.tar.gz gdb-740feeaa2049d0f9a7e5928191124583a1a8c645.tar.bz2 |
Fix annota-input-while-running.exp remote check
The comment says that we can't use runto_main here becore it doesn't
know how to handle annotation. Instead, the test puts a breakpoint at
main and calls run by hand. Therefore, it can't work with stub targets,
since they can't "run". The check should be then changed to check the
use_gdb_stub variable instead of [is_remote target].
But as an alternative, we can just use runto_main and enable annotations
after, since the "run to main" part is not really part of what we want
to test.
I also removed the "set test..." line that is unused.
gdb/testsuite/ChangeLog:
* gdb.base/annota-input-while-running.exp: Don't check for
[is_remote target]. Enable annotations after running to main.
Remove unused "set test..." line.
Diffstat (limited to 'gdb/testsuite/gdb.base/detach.exp')
0 files changed, 0 insertions, 0 deletions