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: [PATCH 1/8] [AArch64] Use debug_printf instead of fprintf_unfiltered


Pierre Langlois <pierre.langlois@arm.com> writes:

> @@ -3363,8 +3337,7 @@ aarch64_record_load_store (insn_decode_record *aarch64_insn_r)
>      {
>        if (record_debug)
>  	{
> -	  fprintf_unfiltered (gdb_stdlog,
> -			      "Process record: load/store exclusive\n");
> +	  debug_printf ("Process record: load/store exclusive\n");
>  	}

After your change, it becomes an one-line statement, so "{" and "}" are no
longer needed.  We can remove them too.  Here, and somewhere else.

OK with the changes.

-- 
Yao (éå)


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