aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-low.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-07-02 15:35:36 +0000
committerDaniel Jacobowitz <drow@false.org>2007-07-02 15:35:36 +0000
commitae13219ef81570640d856de602d606752f1b562a (patch)
tree253787951832584267f55b893cb5e8a00180e7f5 /gdb/gdbserver/linux-low.h
parent741d6ea85b096ca043859a71ae022ad160a64eec (diff)
downloadgdb-ae13219ef81570640d856de602d606752f1b562a.zip
gdb-ae13219ef81570640d856de602d606752f1b562a.tar.gz
gdb-ae13219ef81570640d856de602d606752f1b562a.tar.bz2
* inferiors.c (change_inferior_id): Add comment.
* linux-low.c (check_removed_breakpoint): Add an early prototype. Improve debug output. (linux_attach): Doc update. (linux_detach_one_process, linux_detach): Clean up before releasing each process. (send_sigstop, wait_for_sigstop): Improve comments and debug output. * linux-low.h (struct process_info): Doc improvement. * mem-break.c (delete_all_breakpoints): New. * mem-break.h (delete_all_breakpoints): New prototype. * thread-db.c (find_first_thread): New. (thread_db_create_event): Call it instead of thread_db_find_new_threads. Clean up unused variables. (maybe_attach_thread): Remove first thread handling. (thread_db_find_new_threads): Use find_first_thread. (thread_db_get_tls_address): Likewise.
Diffstat (limited to 'gdb/gdbserver/linux-low.h')
-rw-r--r--gdb/gdbserver/linux-low.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/gdbserver/linux-low.h b/gdb/gdbserver/linux-low.h
index aa3bfe1..d2e6c14 100644
--- a/gdb/gdbserver/linux-low.h
+++ b/gdb/gdbserver/linux-low.h
@@ -92,8 +92,12 @@ struct process_info
unsigned long lwpid;
unsigned long tid;
- /* If this flag is set, the next SIGSTOP will be ignored (the process will
- be immediately resumed). */
+ /* If this flag is set, the next SIGSTOP will be ignored (the
+ process will be immediately resumed). This means that either we
+ sent the SIGSTOP to it ourselves and got some other pending event
+ (so the SIGSTOP is still pending), or that we stopped the
+ inferior implicitly via PTRACE_ATTACH and have not waited for it
+ yet. */
int stop_expected;
/* If this flag is set, the process is known to be stopped right now (stop