aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-07-10 12:30:05 -0700
committerDoug Evans <dje@google.com>2014-07-10 12:30:05 -0700
commite86c23a851f8b20d50e67217750853b8c89bbf55 (patch)
treea32c837ab903d3ef31b9ec13f8251e12d40bc4df /gdb
parent1a76d598884a052dacd8feb49f1999e1a0d537f1 (diff)
downloadgdb-e86c23a851f8b20d50e67217750853b8c89bbf55.zip
gdb-e86c23a851f8b20d50e67217750853b8c89bbf55.tar.gz
gdb-e86c23a851f8b20d50e67217750853b8c89bbf55.tar.bz2
Revert gdbthread.h (any_running): Declare.
Not properly marked as 1/2. This reverts commit 1a76d598884a052dacd8feb49f1999e1a0d537f1.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbthread.h3
-rw-r--r--gdb/thread.c12
3 files changed, 0 insertions, 20 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 63cbdcb..56f2909 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,8 +1,3 @@
-2014-07-10 Doug Evans <dje@google.com>
-
- * gdbthread.h (any_running): Declare.
- * thread.c (any_running): New function.
-
2014-07-09 Pedro Alves <palves@redhat.com>
* infcmd.c (attach_command_post_wait): Don't call
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h
index ca52983..9ef74cd 100644
--- a/gdb/gdbthread.h
+++ b/gdb/gdbthread.h
@@ -363,9 +363,6 @@ extern int is_exited (ptid_t ptid);
/* In the frontend's perpective, is this thread stopped? */
extern int is_stopped (ptid_t ptid);
-/* In the frontend's perpective is there any thread running? */
-extern int any_running (void);
-
/* Marks thread PTID as executing, or not. If ptid_get_pid (PTID) is -1,
marks all threads.
diff --git a/gdb/thread.c b/gdb/thread.c
index 532149d..e25d563 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -648,18 +648,6 @@ is_running (ptid_t ptid)
}
int
-any_running (void)
-{
- struct thread_info *tp;
-
- for (tp = thread_list; tp; tp = tp->next)
- if (tp->state == THREAD_RUNNING)
- return 1;
-
- return 0;
-}
-
-int
is_executing (ptid_t ptid)
{
struct thread_info *tp;