[PATCH] testsuite tfind.exp: If current target don't support trace, try gdbserver.

Pedro Alves palves@redhat.com
Thu Mar 29 09:24:00 GMT 2012


On 03/29/2012 10:17 AM, Hui Zhu wrote:

> Hi,
> 
> When we want to test the trace function that in gdb.trace directory, we will got a lot of UNSUPPORTED.  To use this testcase, we need follow way in http://sourceware.org/gdb/wiki/TestingGDB#Testing_gdbserver_in_a_native_configuration.
> 
> So I post a patch add some code if current target don't support trace, try gdbserver in tfind.exp.
> If this patch goes OK.  I will post patch for other testsuite that support by gdbserver.


NAK.  If the current target doesn't support tracing, the right thing to
do is to skip the test, as we do currently.

-- 
Pedro Alves



More information about the Gdb-patches mailing list