From 89ce0c8f50b02eecbb87ad6246299fd214724846 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 10 Nov 1993 15:58:48 +0000 Subject: gcc -Wall lint: * thread.c: Include "gdbcmd.h" and . * Makefile.in: Update dependency. * thread.c (thread_command): Remove unused variable p. * values.c (unpack_double): Use len instead of TYPE_LENGTH (type). * valprint.c (print_floating): Correctly check sign bit now that we are using unsigned arithmetic. * symtab.c (find_pc_line_range): Remove unused variables exact_match, ind, and l. --- gdb/thread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/thread.c') diff --git a/gdb/thread.c b/gdb/thread.c index a060bec..c3d52c3 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -29,7 +29,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "target.h" #include "thread.h" #include "command.h" +#include "gdbcmd.h" +#include #include #include @@ -323,7 +325,6 @@ thread_command (tidstr, from_tty) { int num; struct thread_info *tp; - char *p; if (!tidstr) error ("Please specify a thread ID. Use the \"info threads\" command to\n\ -- cgit v1.1