aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-08 20:15:34 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-08 20:15:34 +0000
commit46c28185abd94175e479cec1ffaa9f2dd89f9e38 (patch)
tree029f4813f9c9d7a601ac47bae5d9699c820344fc /gdb/thread.c
parent414b2c8f7a865c2ff2fa381d618f7cd446dddbf4 (diff)
downloadgdb-46c28185abd94175e479cec1ffaa9f2dd89f9e38.zip
gdb-46c28185abd94175e479cec1ffaa9f2dd89f9e38.tar.gz
gdb-46c28185abd94175e479cec1ffaa9f2dd89f9e38.tar.bz2
some gcc lint
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index ea5173f..6c2b8eb 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -28,6 +28,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "value.h"
#include "target.h"
#include "thread.h"
+#include "command.h"
#include <sys/types.h>
#include <signal.h>
@@ -44,8 +45,6 @@ struct thread_info
static struct thread_info *thread_list = NULL;
static int highest_thread_num;
-static void thread_info PARAMS ((void));
-
static void thread_command PARAMS ((char * tidstr, int from_tty));
static void prune_threads PARAMS ((void));
@@ -159,7 +158,7 @@ info_threads_command (arg, from_tty)
if (target_has_execution
&& kill (tp->pid, 0) == -1)
{
- tp->pid == -1; /* Mark it as dead */
+ tp->pid = -1; /* Mark it as dead */
continue;
}