diff options
author | Tom Tromey <tromey@redhat.com> | 2013-12-17 21:35:13 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-02-19 07:45:57 -0700 |
commit | 4ab76ea3fb057381852a9d3b7ac9270fec8e7a7c (patch) | |
tree | f6914582c79273d2e499574897e51627b326b8e2 /gdb/serial.c | |
parent | 8dd27370eb43ed1a76883f04c9d93f83a1d195a0 (diff) | |
download | binutils-4ab76ea3fb057381852a9d3b7ac9270fec8e7a7c.zip binutils-4ab76ea3fb057381852a9d3b7ac9270fec8e7a7c.tar.gz binutils-4ab76ea3fb057381852a9d3b7ac9270fec8e7a7c.tar.bz2 |
Add target_ops argument to to_log_command
2014-02-19 Tom Tromey <tromey@redhat.com>
* target.h (struct target_ops) <to_log_command>: Add argument.
(target_log_command): Add argument.
* serial.h (serial_log_command): Add 'self' argument.
* serial.c (serial_log_command): Add 'self' argument.
Diffstat (limited to 'gdb/serial.c')
-rw-r--r-- | gdb/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/serial.c b/gdb/serial.c index 2b1eced..7471a6b 100644 --- a/gdb/serial.c +++ b/gdb/serial.c @@ -130,7 +130,7 @@ serial_logchar (struct ui_file *stream, int ch_type, int ch, int timeout) } void -serial_log_command (const char *cmd) +serial_log_command (struct target_ops *self, const char *cmd) { if (!serial_logfp) return; |