/* Tell sim-arange.h it's us. */
#define SIM_ARANGE_C
+#include "libiberty.h"
#include "sim-basics.h"
#include "sim-assert.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
#define DEFINE_INLINE_P (! defined (SIM_ARANGE_C_INCLUDED))
#define DEFINE_NON_INLINE_P defined (SIM_ARANGE_C_INCLUDED)
frob_range (ar, start, end, 0);
/* Rebuild the search tree. */
+ /* ??? Instead of rebuilding it here it could be done in a module resume
+ handler, say by first checking for a `changed' flag, assuming of course
+ this would never be done while the simulation is running. */
free_search_tree (ar->range_tree);
build_search_tree (ar);
}
frob_range (ar, start, end, 1);
/* Rebuild the search tree. */
+ /* ??? Instead of rebuilding it here it could be done in a module resume
+ handler, say by first checking for a `changed' flag, assuming of course
+ this would never be done while the simulation is running. */
free_search_tree (ar->range_tree);
build_search_tree (ar);
}