diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2007-12-07 15:02:12 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2007-12-07 15:02:12 +0000 |
commit | 49d03eab05e8f80cffaf764d4d26932bf00519d6 (patch) | |
tree | c36ea6df2ae30a7f9d86841f65f4a91483077523 /gdb/remote-mips.c | |
parent | 27524b67e16c96d7f8a266e99979ceb6ae953bc9 (diff) | |
download | binutils-gdb-49d03eab05e8f80cffaf764d4d26932bf00519d6.tar.gz |
* 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.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r-- | gdb/remote-mips.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index f153fb4d034..ade658da744 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -3333,6 +3333,7 @@ _initialize_remote_mips (void) mips_ops.to_load = mips_load; mips_ops.to_create_inferior = mips_create_inferior; mips_ops.to_mourn_inferior = mips_mourn_inferior; + mips_ops.to_log_command = serial_log_command; mips_ops.to_stratum = process_stratum; mips_ops.to_has_all_memory = 1; mips_ops.to_has_memory = 1; |