From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82996 invoked by alias); 17 Dec 2015 13:36:18 -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 82978 invoked by uid 89); 17 Dec 2015 13:36:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=Hx-languages-length:1075 X-HELO: usplmg21.ericsson.net Received: from usplmg21.ericsson.net (HELO usplmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 17 Dec 2015 13:36:11 +0000 Received: from EUSAAHC003.ericsson.se (Unknown_Domain [147.117.188.81]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id 61.C3.32102.24AB2765; Thu, 17 Dec 2015 14:36:02 +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; Thu, 17 Dec 2015 08:36:08 -0500 Subject: Re: [PATCH v7.1 3/8] Use xml-syscall to compare syscall numbers in arm_linux_sigreturn_return-addr To: Yao Qi References: <56718BB5.20508@ericsson.com> <1450283042-28746-1-git-send-email-antoine.tremblay@ericsson.com> <56728BA4.9000709@redhat.com> <5672AFCD.9090901@ericsson.com> <86a8p9nr6n.fsf@gmail.com> CC: Pedro Alves , From: Antoine Tremblay Message-ID: <5672BA48.1090301@ericsson.com> Date: Thu, 17 Dec 2015 13:36: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: <86a8p9nr6n.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/msg00326.txt.bz2 On 12/17/2015 08:24 AM, Yao Qi wrote: > Antoine Tremblay writes: > >> On the other hand expat is needed for debugging with GDBServer... >> > > Not really, we can build gdb with expat disabled, and it can still talks > with GDBserver. > Humm really ? I thought it failed to read the target description and failed with errors like : warning: while parsing target description (at line 10): Target description specified unknown architecture "arm" warning: Could not load XML target description; ignoring Remote 'g' packet reply is too long: 0... >> Yao, had you considered this ? >> >> Is it not better to have a #define considering this ? > > Looks it is not easy to use xml-syscall for syscall numbers, probably we > can roll back to define these syscall number in macro and avoid using > xml things, like > > #define ARM_SIGRETURN 119 > Yes I'll repost with that, I'll keep the __NR_sigreturn macros for GDBServer however. Thanks, Antoine