summaryrefslogtreecommitdiff
path: root/gdb/memory-map.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/memory-map.c
parent0b83947edd8774f1b1b8e0ea0441e1ab62d7daab (diff)
* 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/memory-map.c')
-rw-r--r--gdb/memory-map.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/memory-map.c b/gdb/memory-map.c
index e3f8a805d5..991db1bf91 100644
--- a/gdb/memory-map.c
+++ b/gdb/memory-map.c
@@ -47,12 +47,8 @@ parse_memory_map (const char *memory_map)
#else /* HAVE_LIBEXPAT */
#include "xml-support.h"
-#include <expat.h>
-#ifndef XML_STATUS_OK
-# define XML_STATUS_OK 1
-# define XML_STATUS_ERROR 0
-#endif
+#include "gdb_expat.h"
/* Internal parsing data passed to all Expat callbacks. */
struct memory_map_parsing_data