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: <gdb-patches at sourceware dot org>, <qiyaoltc at gmail dot com>
- Date: Thu, 17 Dec 2015 10:09:06 +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>
Antoine Tremblay <antoine.tremblay@ericsson.com> writes:
> +int get_syscall_number (struct gdbarch *gdbarch,
> + const char *syscall_name)
get_syscall_number should be written in the next line.
> +{
> + init_syscalls_info (gdbarch);
> +
> + return xml_get_syscall_number (gdbarch, syscall_name);
> +}
Patch is good to me otherwise.
--
Yao (éå)