This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Avoid false valgrind warnings on linux_ptrace_test_ret_to_nx
- From: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 19 Feb 2013 22:10:06 +0100
- Subject: Re: [patch] Avoid false valgrind warnings on linux_ptrace_test_ret_to_nx
- References: <20130219184224.GA9706@host2.jankratochvil.net>
On Tue, 2013-02-19 at 19:42 +0100, Jan Kratochvil wrote:
> +#ifdef HAVE_RUNNING_ON_VALGRIND
> + if (HAVE_RUNNING_ON_VALGRIND)
Isn't it rather
if (RUNNING_ON_VALGRIND)
which is needed ?
> + return;
> +#endif
> +