This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Target-specific command logging facility
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: Jim Blandy <jimb at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, "Maciej W. Rozycki" <macro at linux-mips dot org>
- Date: Fri, 7 Dec 2007 15:02:12 +0000 (GMT)
- Subject: Re: Target-specific command logging facility
- References: <Pine.LNX.4.61.0711291525550.3161@perivale.mips.com> <m3tzn4kj7w.fsf@codesourcery.com> <Pine.LNX.4.61.0711291837460.3161@perivale.mips.com>
On Fri, 30 Nov 2007, Maciej W. Rozycki wrote:
> 2006-02-13 Maciej W. Rozycki <macro@mips.com>
>
> * 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.
Having seen no objections I have committed it now.
Maciej