summaryrefslogtreecommitdiff
path: root/gdb/xml-syscall.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-01-19 09:39:11 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-01-19 09:39:11 +0000
commitb721ad5190c5d4e00d1b88c16f73dca1464efde7 (patch)
treec3042a396535c4d97865112a2187d1f9dd0f5c58 /gdb/xml-syscall.c
parentc6670af5f235ee6f4a5ec9eba0f269bae2a6c726 (diff)
downloadgdb-b721ad5190c5d4e00d1b88c16f73dca1464efde7.tar.gz
Delete unused or undefined functions.
* breakpoint.c (ep_parse_optional_filename): Delete. * dcache.c (dcache_write_line): Remove declaration. * infrun.c (build_infrun): Remove declaration. * tracepoint.c (tracepoint_save_command): Remove declaration. * linux-nat.c (init_lwp_list): Delete. No longer used. * event-loop.c (check_async_signal_handlers): Delete declaration. * infrun.c (init_execution_control_state): Delete. (proceed): Update comment to avoid mentioning init_execution_control_state. * target.c (kill_or_be_killed, nosupport_runtime): Delete. * ada-lang.c (ada_to_static_fixed_value): Delete. * scm-lang.c (evaluate_subexp_scm): Delete declaration. * cp-namespace.c (cp_copy_usings): Delete. * xml-syscall.c (xml_number_of_syscalls): Delete. * progspace.c (find_program_space_by_num): Delete. * inflow.c (handle_sigio): Delete declaration. * hppa-tdep.c (hppa_alignof): Delete. * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset) (mipsnbsd_core_osabi_sniffer): Delete.
Diffstat (limited to 'gdb/xml-syscall.c')
-rw-r--r--gdb/xml-syscall.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/xml-syscall.c b/gdb/xml-syscall.c
index d61c499e318..3f5585c65ac 100644
--- a/gdb/xml-syscall.c
+++ b/gdb/xml-syscall.c
@@ -354,13 +354,6 @@ xml_get_syscall_name (const struct syscalls_info *sysinfo,
return NULL;
}
-static int
-xml_number_of_syscalls (const struct syscalls_info *sysinfo)
-{
- return (sysinfo == NULL ? 0 : VEC_length (syscall_desc_p,
- sysinfo->syscalls));
-}
-
static const char **
xml_list_of_syscalls (const struct syscalls_info *sysinfo)
{