diff options
author | Jason Molenda <jmolenda@apple.com> | 1998-10-06 22:24:40 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1998-10-06 22:24:40 +0000 |
commit | 87feff9dabae11e6df45924c733a6ea9368713d1 (patch) | |
tree | cb5f70ae9a6332112663264599818cd507d0f691 /gdb/gdbthread.h | |
parent | 1a113a4cdc66942fc4942276aff3b853bf6a91db (diff) | |
download | gdb-87feff9dabae11e6df45924c733a6ea9368713d1.zip gdb-87feff9dabae11e6df45924c733a6ea9368713d1.tar.gz 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/gdbthread.h')
-rw-r--r-- | gdb/gdbthread.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index f71276f..c298b1d 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -1,5 +1,5 @@ /* Multi-process/thread control defs for GDB, the GNU debugger. - Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993 + Copyright 1987, 88, 89, 90, 91, 92, 1993, 1998 Contributed by Lynx Real-Time Systems, Inc. Los Gatos, CA. Free Software Foundation, Inc. @@ -27,6 +27,10 @@ extern void init_thread_list PARAMS ((void)); extern void add_thread PARAMS ((int pid)); +extern void delete_thread PARAMS ((int)); + +extern int thread_id_to_pid PARAMS ((int)); + extern int in_thread_list PARAMS ((int pid)); extern int pid_to_thread_id PARAMS ((int pid)); @@ -46,4 +50,6 @@ extern void save_infrun_state PARAMS ((int, CORE_ADDR, CORE_ADDR, char *, /* Commands with a prefix of `thread'. */ extern struct cmd_list_element *thread_cmd_list; +extern void _initialize_thread PARAMS ((void)); + #endif /* GDBTHREAD_H */ |