/* Interface between GDB and target environments, including files and processes
- Copyright 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
+ Copyright 1990, 91, 92, 93, 94, 1999 Free Software Foundation, Inc.
Contributed by Cygnus Support. Written by John Gilmore.
This file is part of GDB.
enum thread_control_capabilities {
tc_none = 0, /* Default: can't control thread execution. */
tc_schedlock = 1, /* Can lock the thread scheduler. */
- tc_switch = 2, /* Can switch the running thread on demand. */
+ tc_switch = 2 /* Can switch the running thread on demand. */
};
/* Stuff for target_wait. */
void (*to_notice_signals) PARAMS ((int pid));
int (*to_thread_alive) PARAMS ((int pid));
void (*to_stop) PARAMS ((void));
- int (*to_query) PARAMS ((char, char *, char *, int *));
+ int (*to_query) PARAMS ((int/*char*/, char *, char *, int *));
struct symtab_and_line * (*to_enable_exception_callback) PARAMS ((enum exception_event_kind, int));
struct exception_event_record * (*to_get_current_exception_event) PARAMS ((void));
char * (*to_pid_to_exec_file) PARAMS ((int pid));
extern char *
child_core_file_to_sym_file PARAMS ((char *));
+#if defined(CHILD_POST_ATTACH)
extern void
child_post_attach PARAMS ((int));
+#endif
extern void
child_post_wait PARAMS ((int, int));