summaryrefslogtreecommitdiff
path: root/gdb/linux-nat.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-07-27 21:12:40 +0000
committerDaniel Jacobowitz <drow@false.org>2008-07-27 21:12:40 +0000
commit57380f4e0bbdfa396ed068db6bd867b4fafd9925 (patch)
treec55eb8d7d1ab1052274749c38291df076a980cb2 /gdb/linux-nat.h
parente09490f18a66aa4d02a2f5b7a75d2530caf09d5b (diff)
* linux-nat.c (resume_callback): Add more debugging output.
(linux_nat_has_pending_sigint): New function, based on linux_nat_has_pending. (set_ignore_sigint, maybe_clear_ignore_sigint): New functions. (stop_wait_callback): Remove flush_mask handling. Honor ignore_sigint. Call maybe_clear_ignore_sigint. Pass NULL to recursive calls. (linux_nat_has_pending, flush_callback): Remove. (linux_nat_filter_event): Check for ignore_sigint. (linux_nat_wait): Remove flush_mask support and call to flush_callback. Use set_ignore_sigint and maybe_clear_ignore_sigint. * linux-nat.h (struct lwp_info): Add ignore_sigint field. * gdb.threads/manythreads.exp: Use remote_expect instead of after. Add a test for duplicated SIGINTs.
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r--gdb/linux-nat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h
index f3386f76da..a25719b350 100644
--- a/gdb/linux-nat.h
+++ b/gdb/linux-nat.h
@@ -62,6 +62,9 @@ struct lwp_info
be the address of a hardware watchpoint. */
struct siginfo siginfo;
+ /* Non-zero if we expect a duplicated SIGINT. */
+ int ignore_sigint;
+
/* If WAITSTATUS->KIND != TARGET_WAITKIND_SPURIOUS, the waitstatus
for this LWP's last event. This may correspond to STATUS above,
or to a local variable in lin_lwp_wait. */