projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert infcalls to thread_fsm mechanism
[external/binutils.git]
/
gdb
/
thread-fsm.c
diff --git
a/gdb/thread-fsm.c
b/gdb/thread-fsm.c
index
761ad1c
..
4a27d02
100644
(file)
--- a/
gdb/thread-fsm.c
+++ b/
gdb/thread-fsm.c
@@
-95,3
+95,13
@@
thread_fsm_async_reply_reason (struct thread_fsm *self)
return self->ops->async_reply_reason (self);
}
+
+/* See thread-fsm.h. */
+
+int
+thread_fsm_should_notify_stop (struct thread_fsm *self)
+{
+ if (self->ops->should_notify_stop != NULL)
+ return self->ops->should_notify_stop (self);
+ return 1;
+}