diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-08-09 21:36:23 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-08-09 21:36:23 +0000 |
commit | a27fefe150437b815e05a7b2f665ecd7beadee1c (patch) | |
tree | 03125a5903321c99f52957dda62b7c184e97391d /gdb/target.h | |
parent | 30596ccddf8f2c54b474c35d984cc95e6c8af805 (diff) | |
download | gdb-a27fefe150437b815e05a7b2f665ecd7beadee1c.tar.gz |
import gdb-1999-08-09 snapshot
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h index f7e0a94984d..fd4ffe5dc9e 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -376,6 +376,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 +931,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 |