From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114596 invoked by alias); 7 Dec 2015 17:37:24 -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 114585 invoked by uid 89); 7 Dec 2015 17:37:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: usplmg20.ericsson.net Received: from usplmg20.ericsson.net (HELO usplmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 07 Dec 2015 17:37:22 +0000 Received: from EUSAAHC003.ericsson.se (Unknown_Domain [147.117.188.81]) by usplmg20.ericsson.net (Symantec Mail Security) with SMTP id E1.17.06940.573C5665; Mon, 7 Dec 2015 18:35:49 +0100 (CET) Received: from [142.133.110.95] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.83) with Microsoft SMTP Server id 14.3.248.2; Mon, 7 Dec 2015 12:37:19 -0500 Subject: Re: [PATCH v6 3/7] Refactor arm_software_single_step to use regcache. To: Yao Qi References: <1449254773-19019-1-git-send-email-antoine.tremblay@ericsson.com> <1449254773-19019-4-git-send-email-antoine.tremblay@ericsson.com> <86fuzes51n.fsf@gmail.com> <56659C55.7040205@ericsson.com> <86y4d6qo7h.fsf@gmail.com> CC: From: Antoine Tremblay Message-ID: <5665C3CF.6010400@ericsson.com> Date: Mon, 07 Dec 2015 17:37:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <86y4d6qo7h.fsf@gmail.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00142.txt.bz2 On 12/07/2015 10:21 AM, Yao Qi wrote: > Antoine Tremblay writes: > >> Yes I can find a place to put a define, good idea. > > We can either use some macros defined in kernel headers, __NR_sigreturn, > or compute the these syscall numbers according to syscalls/arm-linux.xml. > OK. I think I'll add a is_syscall_by_name to xml-syscall that will compare the number with the name from the xml.