This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: testsuite: native/non-extended/extended modes [Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode]
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Pedro Alves <pedro at codesourcery dot com>, gdb-patches at sourceware dot org
- Date: Fri, 20 Jan 2012 19:51:05 +0000
- Subject: Re: testsuite: native/non-extended/extended modes [Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode]
- References: <201112051601.59664.pedro@codesourcery.com> <201112131801.20730.pedro@codesourcery.com> <20111213191858.GA30724@host2.jankratochvil.net> <201112161516.56808.pedro@codesourcery.com> <20120120194529.GA856@host2.jankratochvil.net>
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