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 | 4a3784e2aa1f788bb66ce556879b02d2984a3a58 (patch) | |
tree | 57b05a6e29cc63f1edd5afbfcffe593436c77328 /gdb/remote-m32r-sdi.c | |
parent | dd95f7bf45c5996b34589dfcc71de8538d7ef494 (diff) | |
download | gdb-4a3784e2aa1f788bb66ce556879b02d2984a3a58.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-m32r-sdi.c')
-rw-r--r-- | gdb/remote-m32r-sdi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c index ed8feb7817c..a55bb316ee0 100644 --- a/gdb/remote-m32r-sdi.c +++ b/gdb/remote-m32r-sdi.c @@ -1599,6 +1599,7 @@ init_m32r_ops (void) m32r_ops.to_create_inferior = m32r_create_inferior; m32r_ops.to_mourn_inferior = m32r_mourn_inferior; m32r_ops.to_stop = m32r_stop; + m32r_ops.to_log_command = serial_log_command; m32r_ops.to_stratum = process_stratum; m32r_ops.to_has_all_memory = 1; m32r_ops.to_has_memory = 1; |