mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
1998-10-14 Jason Molenda (jsm@bugshack.cygnus.com)
* defs.h: Move _initialize_printcmd, _initialize_stack,
_initialize_blockframe out of here and in to their respective .c files.
* blockframe.c: Move _initialize_blockframe prototype to here.
* printcmd.c: Move _initialize_printcmd prototype to here.
* stack.c: Move _initialize_stack prototype to here.
* source.c, symtab.h: Move _initialize_source prototype to the .c file.
* values.c, value.h: Move _initialize_values prototype to the .c file.
* gdbthread.h, thread.c: Move _initialize_thread prototype to the .c
file.
* breakpoint.c, breakpoint.h: Move _initialize_breakpoint prototype
to the .c file.
* abug-rom.c alpha-nat.c alpha-tdep.c annotate.c ax-gdb.c bcache.c:
Standardize comments for the prototype section of these files.
* configure.in: Look in libc for wctype before looking for it in libc.
The last one is to fix the GNU ld (~2.9.1) + Solaris 2.6 interaction problem
where an empty stub library (libw) causes a core dump when we call vasprintf
(e.g. `info br') in the final linked gdb.
This commit is contained in:
33
gdb/thread.c
33
gdb/thread.c
@@ -58,32 +58,29 @@ struct thread_info
|
||||
static struct thread_info *thread_list = NULL;
|
||||
static int highest_thread_num;
|
||||
|
||||
static void
|
||||
thread_command PARAMS ((char * tidstr, int from_tty));
|
||||
/* Prototypes for exported functions. */
|
||||
|
||||
static void
|
||||
prune_threads PARAMS ((void));
|
||||
void _initialize_thread PARAMS ((void));
|
||||
|
||||
static void
|
||||
switch_to_thread PARAMS ((int pid));
|
||||
/* Prototypes for local functions. */
|
||||
|
||||
static struct thread_info *
|
||||
find_thread_id PARAMS ((int num));
|
||||
static void thread_command PARAMS ((char * tidstr, int from_tty));
|
||||
|
||||
static void
|
||||
info_threads_command PARAMS ((char *, int));
|
||||
static void prune_threads PARAMS ((void));
|
||||
|
||||
static void
|
||||
restore_current_thread PARAMS ((int));
|
||||
static void switch_to_thread PARAMS ((int pid));
|
||||
|
||||
static void
|
||||
thread_apply_all_command PARAMS ((char *, int));
|
||||
static struct thread_info *find_thread_id PARAMS ((int num));
|
||||
|
||||
static void
|
||||
thread_apply_command PARAMS ((char *, int));
|
||||
static void info_threads_command PARAMS ((char *, int));
|
||||
|
||||
static int
|
||||
thread_alive PARAMS ((struct thread_info *));
|
||||
static void restore_current_thread PARAMS ((int));
|
||||
|
||||
static void 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 ()
|
||||
|
||||
Reference in New Issue
Block a user