* hppa-dis.c: (print_insn_hppa): Do output a space before a 'v'
[deliverable/binutils-gdb.git] / gdb / target.h
index f7e0a94984dcce875a50d62acadd0eda530ce99b..e03880205666578174206bd6a8dfb5197c9ddfe1 100644 (file)
@@ -50,7 +50,8 @@ enum strata
     file_stratum,              /* Executable files, etc */
     core_stratum,              /* Core dump files */
     download_stratum,          /* Downloading of remote targets */
-    process_stratum            /* Executing processes */
+    process_stratum,           /* Executing processes */
+    thread_stratum             /* Executing threads */
   };
 
 enum thread_control_capabilities
@@ -219,6 +220,12 @@ enum target_signal
     /* Used internally by Solaris threads.  See signal(5) on Solaris.  */
     TARGET_SIGNAL_CANCEL = 76,
 
+    /* Yes, this pains me, too.  But LynxOS didn't have SIG32, and now
+       Linux does, and we can't disturb the numbering, since it's part
+       of the protocol.  Note that in some GDB's TARGET_SIGNAL_REALTIME_32
+       is number 76.  */
+    TARGET_SIGNAL_REALTIME_32,
+
 #if defined(MACH) || defined(__MACH__)
     /* Mach exceptions */
     TARGET_EXC_BAD_ACCESS,
@@ -376,6 +383,7 @@ struct target_ops
     void (*to_find_new_threads) PARAMS ((void));
     void (*to_stop) PARAMS ((void));
     int (*to_query) PARAMS ((int /*char */ , char *, char *, int *));
+    void (*to_rcmd) (char *command, struct gdb_file *output);
     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));
@@ -930,6 +938,14 @@ print_section_info PARAMS ((struct target_ops *, bfd *));
 #define        target_query(query_type, query, resp_buffer, bufffer_size)      \
        (*current_target.to_query) (query_type, query, resp_buffer, bufffer_size)
 
+/* Send the specified COMMAND to the target's monitor
+   (shell,interpreter) for execution.  The result of the query is
+   placed in OUTBUF. */
+
+#define target_rcmd(command, outbuf) \
+     (*current_target.to_rcmd) (command, outbuf)
+
+
 /* Get the symbol information for a breakpointable routine called when
    an exception event occurs. 
    Intended mainly for C++, and for those
This page took 0.02351 seconds and 4 git commands to generate.