mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
convert to_rcmd
2014-02-19 Tom Tromey <tromey@redhat.com> * target-delegates.c: Rebuild. * target.c (update_current_target): Don't inherit or default to_rcmd. (default_rcmd): New function. (do_monitor_command): Unconditionally delegate. * target.h (struct target_ops) <to_rmcd>: Use TARGET_DEFAULT_FUNC.
This commit is contained in:
@ -528,7 +528,8 @@ struct target_ops
|
||||
char *(*to_thread_name) (struct target_ops *, struct thread_info *);
|
||||
void (*to_stop) (struct target_ops *, ptid_t);
|
||||
void (*to_rcmd) (struct target_ops *,
|
||||
char *command, struct ui_file *output);
|
||||
char *command, struct ui_file *output)
|
||||
TARGET_DEFAULT_FUNC (default_rcmd);
|
||||
char *(*to_pid_to_exec_file) (struct target_ops *, int pid);
|
||||
void (*to_log_command) (struct target_ops *, const char *);
|
||||
struct target_section_table *(*to_get_section_table) (struct target_ops *);
|
||||
|
Reference in New Issue
Block a user