* memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
definitions. * xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise.
This commit is contained in:
parent
ac685e6adf
commit
f2d483c447
3 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-10-03 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
|
||||||
|
definitions.
|
||||||
|
* xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise.
|
||||||
|
|
||||||
2006-09-22 Daniel Jacobowitz <dan@codesourcery.com>
|
2006-09-22 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
* remote.c (remote_write_bytes_aux): Doc fix.
|
* remote.c (remote_write_bytes_aux): Doc fix.
|
||||||
|
|
|
@ -49,6 +49,11 @@ parse_memory_map (const char *memory_map)
|
||||||
#include "xml-support.h"
|
#include "xml-support.h"
|
||||||
#include <expat.h>
|
#include <expat.h>
|
||||||
|
|
||||||
|
#ifndef XML_STATUS_OK
|
||||||
|
# define XML_STATUS_OK 1
|
||||||
|
# define XML_STATUS_ERROR 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Internal parsing data passed to all Expat callbacks. */
|
/* Internal parsing data passed to all Expat callbacks. */
|
||||||
struct memory_map_parsing_data
|
struct memory_map_parsing_data
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,6 +33,11 @@
|
||||||
|
|
||||||
#include "gdb_string.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
|
/* Returns the value of attribute ATTR from expat attribute list
|
||||||
ATTRLIST. If not found, throws an exception. */
|
ATTRLIST. If not found, throws an exception. */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue