This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]