aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-01-19 09:39:12 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-01-19 09:39:12 +0000
commitd5cd603472bb4b3c14782728aa55bbafdfe783e8 (patch)
tree550acd299382450c49a10aa4afcaeb87322a0e1b /gdb/linux-nat.c
parent37a1f2771f06b9f7ef98af3270bedb2d48ac31a5 (diff)
downloadgdb-d5cd603472bb4b3c14782728aa55bbafdfe783e8.zip
gdb-d5cd603472bb4b3c14782728aa55bbafdfe783e8.tar.gz
gdb-d5cd603472bb4b3c14782728aa55bbafdfe783e8.tar.bz2
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/linux-nat.c')
-rw-r--r--gdb/linux-nat.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 03563cd..7fc9584 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -1105,25 +1105,6 @@ status_to_str (int status)
return buf;
}
-/* Initialize the list of LWPs. Note that this module, contrary to
- what GDB's generic threads layer does for its thread list,
- re-initializes the LWP lists whenever we mourn or detach (which
- doesn't involve mourning) the inferior. */
-
-static void
-init_lwp_list (void)
-{
- struct lwp_info *lp, *lpnext;
-
- for (lp = lwp_list; lp; lp = lpnext)
- {
- lpnext = lp->next;
- xfree (lp);
- }
-
- lwp_list = NULL;
-}
-
/* Remove all LWPs belong to PID from the lwp list. */
static void