Target-specific command logging facility

Maciej W. Rozycki macro@mips.com
Fri Dec 7 15:07:00 GMT 2007


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



More information about the Gdb-patches mailing list