This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] [testsuite] Add test case for tracepoints with conditions
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pierre Langlois <pierre dot langlois at arm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 16 Sep 2015 10:19:21 +0100
- Subject: Re: [PATCH 2/2] [testsuite] Add test case for tracepoints with conditions
- Authentication-results: sourceware.org; auth=none
- References: <1441992301-26779-1-git-send-email-pierre dot langlois at arm dot com> <1441992301-26779-3-git-send-email-pierre dot langlois at arm dot com>
Pierre Langlois <pierre.langlois@arm.com> writes:
> +clean_restart ${executable}
> +
> +if ![runto_main] {
> + fail "Can't run to main for ftrace tests"
> + return 0
> +}
> +
> +gdb_reinitialize_dir $srcdir/$subdir
Don't need gdb_reinitialize_dir, as clean_restart did that already.
The patch is OK.
--
Yao (éå)