aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-support.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-10-05 19:42:31 +0000
committerDaniel Jacobowitz <drow@false.org>2006-10-05 19:42:31 +0000
commitdbc981de23506195e531a1e87ad910470ce947ac (patch)
treee302ad944a074250fa129a64da288bd204cfe1c4 /gdb/xml-support.c
parent0b83947edd8774f1b1b8e0ea0441e1ab62d7daab (diff)
downloadgdb-dbc981de23506195e531a1e87ad910470ce947ac.zip
gdb-dbc981de23506195e531a1e87ad910470ce947ac.tar.gz
gdb-dbc981de23506195e531a1e87ad910470ce947ac.tar.bz2
* 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.
Diffstat (limited to 'gdb/xml-support.c')
-rw-r--r--gdb/xml-support.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/xml-support.c b/gdb/xml-support.c
index 54b0c9b..2fcf64e 100644
--- a/gdb/xml-support.c
+++ b/gdb/xml-support.c
@@ -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. */