This is the mail archive of the
mailing list for the GDB project.
Re: Question re: testsuite, "isnative", "is_remote" etc.
- From: Michael Snyder <msnyder at vmware dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Thu, 13 Jan 2011 11:04:09 -0800
- Subject: Re: Question re: testsuite, "isnative", "is_remote" etc.
- References: <4D2E35C5.email@example.com> <20110113184025.GO6247@codesourcery.com>
Nathan Froyd wrote:
On Wed, Jan 12, 2011 at 03:14:13PM -0800, Michael Snyder wrote:
What's the recommended way of skipping a test case if it shouldn't run
I used [target_info exists use_gdb_stub] last time I fixed a test like
Yep, I've been tempted to use that too. But I think "use_gdb_stub"
is still something different. It was meant to refer to those old
stubs like i386-stub.c, not to gdbserver. There used to be some
magic that you had to do, like this in break.c:
main (int argc, char **argv, char **envp)
set_debug_traps(); /* set breakpoint 5 here */
and "use_gdb_stubs" was the corresponding bit for the .exp file.
I don't think it applies (or should apply) to gdbserver.