* linux-low.c: Update copyright year.

(check_removed_breakpoint): Clear pending_is_breakpoint.
	(linux_set_resume_request, linux_queue_one_thread)
	(resume_status_pending_p): New functions.
	(linux_continue_one_thread): Use process->resume.
	(linux_resume): Only resume threads if there are no pending events.
	* linux-low.h (struct process_info): Add resume request
	pointer.
This commit is contained in:
Daniel Jacobowitz
2004-01-31 22:19:32 +00:00
parent 9709f61c0f
commit 5544ad8993
3 changed files with 138 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
/* Internal interfaces for the GNU/Linux specific target code for gdbserver.
Copyright 2002, Free Software Foundation, Inc.
Copyright 2002, 2004 Free Software Foundation, Inc.
This file is part of GDB.
@@ -106,7 +106,13 @@ struct process_info
/* If this is non-zero, it points to a chain of signals which need to
be delivered to this process. */
struct pending_signals *pending_signals;
/* A link used when resuming. It is initialized from the resume request,
and then processed and cleared in linux_resume_one_process. */
struct thread_resume *resume;
};
extern struct inferior_list all_processes;
void linux_attach_lwp (int pid, int tid);