This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v7.1 3/8] Use xml-syscall to compare syscall numbers in arm_linux_sigreturn_return-addr




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]