From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39062 invoked by alias); 11 Dec 2015 11:29:48 -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 39040 invoked by uid 89); 11 Dec 2015 11:29:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pf0-f176.google.com Received: from mail-pf0-f176.google.com (HELO mail-pf0-f176.google.com) (209.85.192.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 11 Dec 2015 11:29:45 +0000 Received: by pfd5 with SMTP id 5so3444253pfd.2 for ; Fri, 11 Dec 2015 03:29:43 -0800 (PST) X-Received: by 10.98.16.76 with SMTP id y73mr14261187pfi.151.1449833383842; Fri, 11 Dec 2015 03:29:43 -0800 (PST) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id x79sm24641488pfi.47.2015.12.11.03.29.41 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 11 Dec 2015 03:29:43 -0800 (PST) From: Yao Qi To: Antoine Tremblay Cc: Subject: Re: [PATCH v7 3/8] Use xml-syscall to compare syscall numbers in arm_linux_sigreturn_return-addr. References: <1449583641-18156-1-git-send-email-antoine.tremblay@ericsson.com> <1449583641-18156-4-git-send-email-antoine.tremblay@ericsson.com> Date: Fri, 11 Dec 2015 11:29:00 -0000 In-Reply-To: <1449583641-18156-4-git-send-email-antoine.tremblay@ericsson.com> (Antoine Tremblay's message of "Tue, 8 Dec 2015 09:07:16 -0500") Message-ID: <86io45ql3x.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-12/txt/msg00217.txt.bz2 Antoine Tremblay writes: > It also adds a new function to xml-syscall.h/c to compare syscalls numbers > called is_syscall. Why don't we use existing get_syscall_by_name in arm_linux_sigreturn_return_addr rather than adding a new function is_syscal= l? --=20 Yao (=E9=BD=90=E5=B0=A7)