This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc 4/5] record: default target methods.


On Fri, 08 Feb 2013 16:30:22 +0100, markus.t.metzger@intel.com wrote:
> diff --git a/gdb/record.c b/gdb/record.c
> index 5293417..7f26b41 100644
> --- a/gdb/record.c
> +++ b/gdb/record.c
> @@ -32,6 +32,10 @@ struct cmd_list_element *set_record_cmdlist = NULL;
>  struct cmd_list_element *show_record_cmdlist = NULL;
>  struct cmd_list_element *info_record_cmdlist = NULL;
>  
> +#define DEBUG(msg, args...)			\
> +  if (record_debug) \

Backslashes are in such case generally indented in one column:

#define DEBUG(msg, args...)			\
  if (record_debug)				\


> +    fprintf_unfiltered (gdb_stdlog, "record: " msg "\n", ##args)
> +
>  /* Find the record target in the target stack.  */
>  
>  static struct target_ops *


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]