* target.c (update_current_target): Inherit to_log_command.
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 7 Dec 2007 15:02:12 +0000 (15:02 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Fri, 7 Dec 2007 15:02:12 +0000 (15:02 +0000)
commit49d03eab05e8f80cffaf764d4d26932bf00519d6
treec36ea6df2ae30a7f9d86841f65f4a91483077523
parent27524b67e16c96d7f8a266e99979ceb6ae953bc9
* 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.
gdb/ChangeLog
gdb/monitor.c
gdb/remote-m32r-sdi.c
gdb/remote-mips.c
gdb/remote.c
gdb/target.c
gdb/target.h
gdb/top.c