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: Yao Qi <qiyaoltc at gmail dot com>
- To: Simon Marchi <simon dot marchi at polymtl dot ca>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 12 Oct 2015 11:01:34 +0100
- 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>
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.
--
Yao (éå)