mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 05:12:28 +08:00
* 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:
@ -448,6 +448,7 @@ update_current_target (void)
|
||||
INHERIT (to_enable_exception_callback, t);
|
||||
INHERIT (to_get_current_exception_event, t);
|
||||
INHERIT (to_pid_to_exec_file, t);
|
||||
INHERIT (to_log_command, t);
|
||||
INHERIT (to_stratum, t);
|
||||
INHERIT (to_has_all_memory, t);
|
||||
INHERIT (to_has_memory, t);
|
||||
|
Reference in New Issue
Block a user