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.
This commit is contained in:
Tom Tromey
2013-12-17 21:35:13 -07:00
parent 8dd27370eb
commit 4ab76ea3fb
4 changed files with 12 additions and 4 deletions

View File

@@ -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;