Revert gdbthread.h (any_running): Declare.
authorDoug Evans <dje@google.com>
Thu, 10 Jul 2014 19:30:05 +0000 (12:30 -0700)
committerDoug Evans <dje@google.com>
Thu, 10 Jul 2014 19:30:05 +0000 (12:30 -0700)
Not properly marked as 1/2.
This reverts commit 1a76d598884a052dacd8feb49f1999e1a0d537f1.

gdb/ChangeLog
gdb/gdbthread.h
gdb/thread.c

index 63cbdcb4a6954deb67bb82529db96bb2e1c451c6..56f29095d619e592a80988e524616137468a6871 100644 (file)
@@ -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
index ca529831aaa6a9462cd7c9ceac7d9871fc8167de..9ef74cdd686fc087dedef9104ede053a5180489d 100644 (file)
@@ -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.
 
index 532149ddc6354ea17c7f58b666ebc74b68e5ca5b..e25d5639bd91a10658c9daa5848f98978bd34cad 100644 (file)
@@ -647,18 +647,6 @@ is_running (ptid_t ptid)
   return is_thread_state (ptid, THREAD_RUNNING);
 }
 
-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)
 {
This page took 0.030752 seconds and 4 git commands to generate.