aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1998-10-06 22:24:40 +0000
committerJason Molenda <jmolenda@apple.com>1998-10-06 22:24:40 +0000
commit87feff9dabae11e6df45924c733a6ea9368713d1 (patch)
treecb5f70ae9a6332112663264599818cd507d0f691 /gdb/thread.c
parent1a113a4cdc66942fc4942276aff3b853bf6a91db (diff)
downloadfsf-binutils-gdb-87feff9dabae11e6df45924c733a6ea9368713d1.zip
fsf-binutils-gdb-87feff9dabae11e6df45924c733a6ea9368713d1.tar.gz
fsf-binutils-gdb-87feff9dabae11e6df45924c733a6ea9368713d1.tar.bz2
1998-10-06 Jason Molenda (jsm@bugshack.cygnus.com)
Eliminate a few warnings from the compiler. * breakpoint.h: Add prototype. * breakpoint.c (do_enable_breakpoint): cast mem_cnt, i to (void). * configure.in: Check if strdup declaration is necessary. * configure: Regenerated. * defs.h: Add prototypes. * gdb_string.h: Only define strdup if necessary. * gdbthread.h: Add prototypes. * printcmd.c: Add prototyptes. (disassemble_command): Remove unused variable 'section'. * symtab.c: Add prototypes. * symtab.h: Include gnu-regex.h, add prototype. * thread.c: Add prototype.
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index 8c61a56..dba6621 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -1,5 +1,5 @@
/* Multi-process/thread control for GDB, the GNU debugger.
- Copyright 1986, 1987, 1988, 1993
+ Copyright 1986, 1987, 1988, 1993, 1998
Contributed by Lynx Real-Time Systems, Inc. Los Gatos, CA.
Free Software Foundation, Inc.
@@ -82,6 +82,9 @@ thread_apply_all_command PARAMS ((char *, int));
static void
thread_apply_command PARAMS ((char *, int));
+static int
+thread_alive PARAMS ((struct thread_info *));
+
void
init_thread_list ()
{