From 2f70f2d7917357621fbc4fadeb1bb6f99bd805e0 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 2 Mar 2023 18:58:02 -0800 Subject: gdbstub: Remove gdb_do_syscallv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This function is unused, except to implement gdb_do_syscall. Fold the implementations together. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-Id: <20230303025805.625589-27-richard.henderson@linaro.org> --- include/gdbstub/syscalls.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'include') diff --git a/include/gdbstub/syscalls.h b/include/gdbstub/syscalls.h index 5851a2c..243eaf8 100644 --- a/include/gdbstub/syscalls.h +++ b/include/gdbstub/syscalls.h @@ -92,17 +92,6 @@ typedef void (*gdb_syscall_complete_cb)(CPUState *cpu, uint64_t ret, int err); void gdb_do_syscall(gdb_syscall_complete_cb cb, const char *fmt, ...); /** - * gdb_do_syscallv: - * @cb: function to call when the system call has completed - * @fmt: gdb syscall format string - * @va: arguments to interpolate into @fmt - * - * As gdb_do_syscall, but taking a va_list rather than a variable - * argument list. - */ -void gdb_do_syscallv(gdb_syscall_complete_cb cb, const char *fmt, va_list va); - -/** * use_gdb_syscalls() - report if GDB should be used for syscalls * * This is mostly driven by the semihosting mode the user configures -- cgit v1.1