[patch] make static_assert gdb private

Andreas Tobler andreast-list@fgznet.ch
Wed Jan 11 21:43:00 GMT 2012


On 11.01.12 22:15, Tom Tromey wrote:
>>>>>> "Andreas" == Andreas Tobler<andreast-list@fgznet.ch>  writes:
>
> Andreas>  Is this ok for trunk?
>
> Ok.  Thanks.

Thank you!

> BTW your patch got word-wrapped.

That's me being a c&p man. I copied the diff from the terminal into 
thunderbird. The real diff looks a bit ugly since I overrun the 80 chars 
per line.

Here I have a question about formatting, would the below be better?

-static_assert (ARRAY_SIZE (async_reason_string_lookup) == 
EXEC_ASYNC_LAST + 1);
+gdb_static_assert (ARRAY_SIZE (async_reason_string_lookup)
+		   == EXEC_ASYNC_LAST + 1);


Andreas



More information about the Gdb-patches mailing list