aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-12-17 21:35:13 -0700
committerTom Tromey <tromey@redhat.com>2014-02-19 07:45:57 -0700
commit4ab76ea3fb057381852a9d3b7ac9270fec8e7a7c (patch)
treef6914582c79273d2e499574897e51627b326b8e2 /gdb/serial.c
parent8dd27370eb43ed1a76883f04c9d93f83a1d195a0 (diff)
downloadgdb-4ab76ea3fb057381852a9d3b7ac9270fec8e7a7c.zip
gdb-4ab76ea3fb057381852a9d3b7ac9270fec8e7a7c.tar.gz
gdb-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.c2
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;