aarch64: Use gdb_sys_no_syscall enum instead of -1
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 12 Oct 2015 16:24:37 +0000 (12:24 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 12 Oct 2015 16:24:37 +0000 (12:24 -0400)
commitcb65d272fd09b79b7911cc00b5262d4fe14a40d7
tree9e6b05036b93c0569982655d5d98b25e49247291
parent4373f8af3ddbc301227e883d5cbed8302c107e59
aarch64: Use gdb_sys_no_syscall enum instead of -1

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.
gdb/ChangeLog
gdb/aarch64-linux-tdep.c