From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52311 invoked by alias); 12 Oct 2015 10:01:49 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 52233 invoked by uid 89); 12 Oct 2015 10:01:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f52.google.com Received: from mail-pa0-f52.google.com (HELO mail-pa0-f52.google.com) (209.85.220.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 12 Oct 2015 10:01:42 +0000 Received: by pabve7 with SMTP id ve7so92391069pab.2 for ; Mon, 12 Oct 2015 03:01:41 -0700 (PDT) X-Received: by 10.68.139.72 with SMTP id qw8mr33135853pbb.60.1444644101036; Mon, 12 Oct 2015 03:01:41 -0700 (PDT) Received: from E107787-LIN (power-aix.osuosl.org. [140.211.15.154]) by smtp.gmail.com with ESMTPSA id xd10sm17464255pab.25.2015.10.12.03.01.38 (version=TLS1_2 cipher=AES128-SHA256 bits=128/128); Mon, 12 Oct 2015 03:01:40 -0700 (PDT) From: Yao Qi To: Simon Marchi Cc: gdb-patches@sourceware.org Subject: Re: [PATCH c++ 5/6] aarch64: Use gdb_sys_no_syscall enum instead of -1 References: <1444624329-4828-1-git-send-email-simon.marchi@polymtl.ca> <1444624329-4828-5-git-send-email-simon.marchi@polymtl.ca> Date: Mon, 12 Oct 2015 10:01:00 -0000 In-Reply-To: <1444624329-4828-5-git-send-email-simon.marchi@polymtl.ca> (Simon Marchi's message of "Mon, 12 Oct 2015 00:32:08 -0400") Message-ID: <86vbac5rsx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00143.txt.bz2 Simon Marchi writes: > Fixes: > > /home/simark/src/binutils-gdb/gdb/aarch64-linux-tdep.c: In function =E2= =80=98gdb_syscall aarch64_canonicalize_syscall(aarch64_syscall)=E2=80=99: > /home/simark/src/binutils-gdb/gdb/aarch64-linux-tdep.c:874:13: error: inv= alid conversion from =E2=80=98int=E2=80=99 to =E2=80=98gdb_syscall=E2=80=99= [-fpermissive] > return -1; > ^ > > gdb/ChangeLog: > > * aarch64-linux-tdep.c (aarch64_canonicalize_syscall): Return > gdb_sys_no_syscall instead of -1. Patch is OK. --=20 Yao (=E9=BD=90=E5=B0=A7)