* target.c (update_current_target): Inherit to_log_command.
* target.h (struct target_ops). Add to_log_command. (target_log_command): New macro. * top.c (execute_command): Call target_log_command() rather than serial_log_command(). * monitor.c (init_base_monitor_ops): Initialize to_log_command. * remote-m32r-sdi.c (init_m32r_ops): Likewise. * remote-mips.c (_initialize_remote_mips): Likewise. * remote.c (init_remote_ops): Likewise.
This commit is contained in:
parent
27524b67e1
commit
49d03eab05
8 changed files with 27 additions and 1 deletions
|
@ -6950,6 +6950,7 @@ Specify the serial device it is connected to\n\
|
|||
remote_ops.to_stop = remote_stop;
|
||||
remote_ops.to_xfer_partial = remote_xfer_partial;
|
||||
remote_ops.to_rcmd = remote_rcmd;
|
||||
remote_ops.to_log_command = serial_log_command;
|
||||
remote_ops.to_get_thread_local_address = remote_get_thread_local_address;
|
||||
remote_ops.to_stratum = process_stratum;
|
||||
remote_ops.to_has_all_memory = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue