[PATCH v2] sim: avoid TRACE redefine warnings

Joel Brobecker brobecker@adacore.com
Tue Mar 16 16:06:00 GMT 2010


> 2010-03-15  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* hw-ports.c (TRACE): Delete.
> 	* hw-properties.c (TRACE): Delete.
> 	(hw_find_ihandle_runtime_property): Change TRACE to HW_TRACE.
> 	(hw_find_integer_property): Likewise.
> 	(hw_find_integer_array_property): Likewise.
> 	(hw_add_duplicate_property): Likewise.

This looks good to me. I don't understand why people use two parentheses
in the call to HW_TRACE:

    HW_TRACE ((me, [...], property))

But it looks like it's the style being used, so OK.

-- 
Joel



More information about the Gdb-patches mailing list