Re: [PATCH] gdb: Fix build failure in xml-tdesc.c without expat.

Marcin Kościelnicki
2016-02-12T10:21:55Z

On 12/02/16 11:19, Pedro Alves wrote:
> On 02/12/2016 10:09 AM, Marcin KoÅ›cielnicki wrote:
>> Introduced by 18d3cec54e1b4fce278dba436484846f8048d7d6.
>>
>> gdb/ChangeLog:
>>
>> * xml-tdesc.c (target_fetch_description_xml): Warn and return NULL
>> when built without expat.
>> ---
>> How about that?
>
> There's a standard CL format for conditionally compiled code:
>
> * xml-tdesc.c (target_fetch_description_xml) [!HAVE_LIBEXPAT]: Warn
> and return NULL.
>
> OK with that change.
>
> Thanks,
> Pedro Alves
>

Thanks, pushed.