* 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:
Daniel Jacobowitz
2006-10-05 19:42:31 +00:00
parent 0b83947edd
commit dbc981de23
6 changed files with 52 additions and 16 deletions

View File

@ -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. */