This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
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