aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-low.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-01-31 22:19:32 +0000
committerDaniel Jacobowitz <drow@false.org>2004-01-31 22:19:32 +0000
commit5544ad8993e779a67e70bdb9b03e12e94ac82d80 (patch)
treea511c614b758fa9a79506819cd4361ab8cad15ce /gdb/gdbserver/linux-low.h
parent9709f61c0fccde8b375d86cd8c515431c29f76d3 (diff)
downloadgdb-5544ad8993e779a67e70bdb9b03e12e94ac82d80.zip
gdb-5544ad8993e779a67e70bdb9b03e12e94ac82d80.tar.gz
gdb-5544ad8993e779a67e70bdb9b03e12e94ac82d80.tar.bz2
* 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.
Diffstat (limited to 'gdb/gdbserver/linux-low.h')
-rw-r--r--gdb/gdbserver/linux-low.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-low.h b/gdb/gdbserver/linux-low.h
index bae76b7..d42c9b5 100644
--- a/gdb/gdbserver/linux-low.h
+++ b/gdb/gdbserver/linux-low.h
@@ -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);