aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-07-27 20:51:40 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-07-27 20:51:40 +0000
commit26ab7092a2a92cb00adbad2f34bd104cedb41b87 (patch)
treefc0c5ed01744e0bc74775f5d9f464bec4fa51c1f /gdb/linux-nat.h
parent283e6a52fcfdaaaeae882884a5b848e44249f324 (diff)
downloadgdb-26ab7092a2a92cb00adbad2f34bd104cedb41b87.zip
gdb-26ab7092a2a92cb00adbad2f34bd104cedb41b87.tar.gz
gdb-26ab7092a2a92cb00adbad2f34bd104cedb41b87.tar.bz2
gdb/
* ia64-linux-nat.c (ia64_linux_status_is_event): New function. (_initialize_ia64_linux_nat): Install it. * linux-nat.c (sigtrap_is_event, linux_nat_status_is_event) (linux_nat_set_status_is_event): New. (stop_wait_callback, count_events_callback, select_event_lwp_callback) cancel_breakpoints_callback, linux_nat_filter_event) (linux_nat_wait_1): Use linux_nat_status_is_event. * linux-nat.h (linux_nat_set_status_is_event): New prototype. gdb/testsuite/ * gdb.threads/ia64-sigill.exp: New file. * gdb.threads/ia64-sigill.c: New file.
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r--gdb/linux-nat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h
index 2858f08..64393fd 100644
--- a/gdb/linux-nat.h
+++ b/gdb/linux-nat.h
@@ -172,3 +172,7 @@ struct siginfo *linux_nat_get_siginfo (ptid_t ptid);
/* Compute and return the processor core of a given thread. */
int linux_nat_core_of_thread_1 (ptid_t ptid);
+
+/* Set alternative SIGTRAP-like events recognizer. */
+void linux_nat_set_status_is_event (struct target_ops *t,
+ int (*status_is_event) (int status));