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: Yao Qi <qiyaoltc at gmail dot com>
- To: Antoine Tremblay <antoine dot tremblay at ericsson dot com>
- Cc: Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>, <qiyaoltc at gmail dot com>
- Date: Thu, 17 Dec 2015 13:24:48 +0000
- 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>
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.
> 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
--
Yao (éå)