mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08:00
* Makefile.in (gdb_expat_h): New.
(xml_support_h): Add gdb_expat.h dependency. (memory-map.o, xml-support.o): Likewise. * gdb_expat.h: New file. * xml-support.h: Include it. * memory-map.c, xml-support.c: Likewise. Remove XML_STATUS_OK definitions.
This commit is contained in:
@ -29,15 +29,9 @@
|
||||
#include "exceptions.h"
|
||||
#include "xml-support.h"
|
||||
|
||||
#include <expat.h>
|
||||
|
||||
#include "gdb_expat.h"
|
||||
#include "gdb_string.h"
|
||||
|
||||
#ifndef XML_STATUS_OK
|
||||
# define XML_STATUS_OK 1
|
||||
# define XML_STATUS_ERROR 0
|
||||
#endif
|
||||
|
||||
/* Returns the value of attribute ATTR from expat attribute list
|
||||
ATTRLIST. If not found, throws an exception. */
|
||||
|
||||
|
Reference in New Issue
Block a user