Re: testsuite: native/non-extended/extended modes [Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode]

Pedro Alves
2012-01-20T19:51:24Z

On 01/20/2012 07:45 PM, Jan Kratochvil wrote:

> As I have another testcase in archer-jankratochvil-watchpoint3
> gdb.multi/watchpoint-multi.exp needing extended gdbserver and you are already
> working on extended-remote board could you restate what is the recommended way
> how to create a testcase which:
> * supports native mode
> * does not support non-extended-remote
> * supports extended-remote
> ?

Just skip it if use_gdb_stub is set (meaning, non-extended-remote).
extended-remote behaves like native for the most part, so it doesn't
set use_gdb_stub, and the test will run there as well.

--
Pedro Alves