This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH c++ 5/6] aarch64: Use gdb_sys_no_syscall enum instead of -1
- From: Simon Marchi <thundersim at gmail dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>, Simon Marchi <simon dot marchi at polymtl dot ca>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 12 Oct 2015 12:26:26 -0400
- Subject: Re: [PATCH c++ 5/6] aarch64: Use gdb_sys_no_syscall enum instead of -1
- Authentication-results: sourceware.org; auth=none
- References: <1444624329-4828-1-git-send-email-simon dot marchi at polymtl dot ca> <1444624329-4828-5-git-send-email-simon dot marchi at polymtl dot ca> <86vbac5rsx dot fsf at gmail dot com>
On 12/10/15 06:01 AM, Yao Qi wrote:
> Simon Marchi <simon.marchi@polymtl.ca> writes:
>
>> Fixes:
>>
>> /home/simark/src/binutils-gdb/gdb/aarch64-linux-tdep.c: In function âgdb_syscall aarch64_canonicalize_syscall(aarch64_syscall)â:
>> /home/simark/src/binutils-gdb/gdb/aarch64-linux-tdep.c:874:13: error: invalid conversion from âintâ to âgdb_syscallâ [-fpermissive]
>> return -1;
>> ^
>>
>> gdb/ChangeLog:
>>
>> * aarch64-linux-tdep.c (aarch64_canonicalize_syscall): Return
>> gdb_sys_no_syscall instead of -1.
>
> Patch is OK.
>
Pushed, thanks!