This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
testsuite: native/non-extended/extended modes [Re: [PATCH] PR threads/10729: x86 hw watchpoints and non-stop mode]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 20 Jan 2012 20:45:29 +0100
- Subject: 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>
On Fri, 16 Dec 2011 16:16:56 +0100, Pedro Alves wrote:
> Currently, because there's no extended-remote board, the only way to
> be a bit certain that we aren't making extended-remote "attach"/"run"
> support in gdbserver a brick is the gdb.server/ tests. Let's take a
> look at what we're talking about:
>
> $ ls gdb.server/*.exp
> gdb.server/ext-attach.exp
> gdb.server/ext-run.exp
> gdb.server/file-transfer.exp
> gdb.server/server-mon.exp
> gdb.server/server-run.exp
>
> That's it. Once we have a board that tests the whole testsuite in
> extended-remote mote, the ext-*.exp tests become useless and
> redundant, and so all uses of gdbserver_start_extended can be eliminated
> -- we have plenty of regular tests that "run" and "attach". Meanwhile,
> we don't such a board, so we live with the exception that the
> tests force gdbserver, and extended-remote. This is what I mean
> by revisiting later. (I don't see a point in adding a board variable
> for "supports extended-remote" at this point.)
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
?
Thanks,
Jan