This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH]: Enable catch syscall test on sparc
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 25 Feb 2010 12:33:10 -0500
- Subject: Re: [PATCH]: Enable catch syscall test on sparc
- References: <20100225.080347.123279217.davem@davemloft.net>
On Thu, Feb 25, 2010 at 08:03:47AM -0800, David Miller wrote:
>
> Now that these sparc targets support this feature we can enable the
> test in the testsuite.
>
> While doing this I also noticed that the logic for setting the
> all_syscalls_numbers array was wrong, the test always evaluates to
> true because it goes:
>
> if (!ARCH1 || !ARCH2 || ...
>
> instead of the correct:
>
> if (ARCH1 || ARCH2 || ...
>
> so that gets fixed here too.
>
> Ok to commit?
OK, thanks.
--
Daniel Jacobowitz
CodeSourcery