This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v7.1 3/8] Use xml-syscall to compare syscall numbers in arm_linux_sigreturn_return-addr
- From: Antoine Tremblay <antoine dot tremblay at ericsson dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: 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
- Authentication-results: sourceware.org; auth=none
- References: <56718BB5 dot 20508 at ericsson dot com> <1450283042-28746-1-git-send-email-antoine dot tremblay at ericsson dot com> <56728BA4 dot 9000709 at redhat dot com> <5672AFCD dot 9090901 at ericsson dot com> <86a8p9nr6n dot fsf at gmail dot com>
On 12/17/2015 08:24 AM, Yao Qi wrote:
Antoine Tremblay <antoine.tremblay@ericsson.com> 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