This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] sim: avoid TRACE redefine warnings
> 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