import gdb-19990422 snapshot
[deliverable/binutils-gdb.git] / gdb / target.h
index 7f6a2c5de9d0acbedd89b18c79b7f9947f884dcd..21c3babddba51906ff1410b79d3fb0d1f004f8ac 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.
@@ -54,7 +54,7 @@ enum strata {
 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.  */
@@ -355,7 +355,7 @@ struct target_ops
   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));
@@ -559,8 +559,10 @@ child_pid_to_exec_file PARAMS ((int));
 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));
This page took 0.023765 seconds and 4 git commands to generate.