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

Pedro Alves palves@redhat.com
Fri Feb 12 10:06:00 GMT 2016


On 02/11/2016 10:56 PM, Marcin Kościelnicki wrote:
> Introduced by 18d3cec54e1b4fce278dba436484846f8048d7d6.
> 
> gdb/ChangeLog:
> 
> 	* xml-tdesc.c (target_fetch_description_xml): Return NULL when
> 	built without expat.
> ---
> OK to push?  Or should we emit a warning in this case?

Yes, I think we should emit a warning.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list