This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 1/3] Return a vector of integers from get_syscalls_by_group.
On Tue, 6 Nov 2018 09:54:29 -0800
John Baldwin <jhb@FreeBSD.org> wrote:
> This removes the need for the caller to explicitly manage the memory
> for the returned system call list. This change only returns the
> numbers rather than a vector of syscall structures since the caller
> only needs the numbers.
>
> gdb/ChangeLog:
>
> * break-catch-syscall.c (catch_syscall_split_args): Update for
> get_syscalls_by_group returning a vector.
> * xml-syscall.c [!HAVE_LIBEXPATH] (get_syscalls_by_group): Return
s/HAVE_LIBEXPATH/HAVE_LIBEXPAT/
> empty vector.
> [HAVE_LIBEXPAT] (xml_list_syscalls_by_group)
> (get_syscalls_by_group): Return a vector of integers.
> * xml-syscall.h (get_syscalls_by_group): Change return type to a
> vector of integers.
Otherwise, okay.
Kevin