+2021-06-17 Mike Frysinger <vapier@gentoo.org>
+
+ * cgen-trace.c: Include sim/callback.h.
+ * nrun.c, sim-hw.c, sim-io.c, sim-syscall.c, sim-trace.c: Likewise.
+ * sim-basics.h: Delete sim/callback.h include.
+ * sim-endian.h: Include bfd.h.
+ * sim-syscall.h (struct cb_syscall): New forward decl.
+ * sim-utils.h (sim_analyze_program): Likewise.
+
2021-06-16 Mike Frysinger <vapier@gentoo.org>
* Make-common.in (CONFIG_CFLAGS): Change @DEFS@ to -DHAVE_CONFIG_H.
#include "bfd.h"
#include "sim-main.h"
#include "sim-fpu.h"
+#include "sim/callback.h"
#ifndef SIZE_INSTRUCTION
#define SIZE_INSTRUCTION 16
#include <string.h>
#include "sim-main.h"
+#include "sim/callback.h"
#include "bfd.h"
#include "environ.h"
/* Basic definitions - ordered so that nothing calls what comes after it. */
#include "ansidecl.h"
-#include "sim/callback.h"
#include "sim/sim.h"
#include "sim-config.h"
#ifndef SIM_ENDIAN_H
#define SIM_ENDIAN_H
+#include "bfd.h"
/* C byte conversion functions */
#include "sim-main.h"
#include "sim-assert.h"
#include "sim-options.h"
+#include "sim/callback.h"
#include "sim-hw.h"
#include "sim-main.h"
#include "sim-io.h"
+#include "sim/callback.h"
#include "targ-vals.h"
#include <errno.h>
#include "sim-main.h"
#include "sim-syscall.h"
+#include "sim/callback.h"
#include "targ-vals.h"
\f
/* Read/write functions for system call interface. */
#ifndef SIM_SYSCALL_H
#define SIM_SYSCALL_H
+struct cb_syscall;
+
/* Perform a syscall on the behalf of the target program. The error/result are
normalized into a single value (like a lot of operating systems do). If you
want the split values, see the other function below.
#include "sim-io.h"
#include "sim-options.h"
#include "sim-fpu.h"
+#include "sim/callback.h"
#include "bfd.h"
#include "libiberty.h"
write the program sections at LMA interpreted as a virtual address.
This is still accommodated for backward compatibility reasons. */
+typedef struct host_callback_struct host_callback;
typedef int sim_write_fn (SIM_DESC sd, SIM_ADDR mem,
const unsigned char *buf, int length);
struct bfd *sim_load_file (SIM_DESC sd, const char *myname,
+2021-06-17 Mike Frysinger <vapier@gentoo.org>
+
+ * traps.c: Include sim/callback.h.
+
2021-06-16 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
#include "sim-main.h"
#include "sim-syscall.h"
#include "sim-options.h"
+#include "sim/callback.h"
#include "bfd.h"
/* FIXME: get rid of targ-vals.h usage everywhere else. */
+2021-06-17 Mike Frysinger <vapier@gentoo.org>
+
+ * traps.c: Include sim/callback.h.
+
2021-06-16 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
#include "cgen-engine.h"
#include "cgen-par.h"
#include "sim-fpu.h"
+#include "sim/callback.h"
#include "bfd.h"
#include "libiberty.h"
+2021-06-17 Mike Frysinger <vapier@gentoo.org>
+
+ * compile.c: Include sim/callback.h.
+
2021-06-16 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
#include "sys/stat.h"
#include "sys/types.h"
#include "sim-options.h"
+#include "sim/callback.h"
#ifndef SIGTRAP
# define SIGTRAP 5
+2021-06-17 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-main.h: Delete sim/callback.h include.
+
2021-06-16 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
#include "opcode/m68hc11.h"
-#include "sim/callback.h"
#include "sim/sim.h"
#include "opcode/m68hc11.h"
#include "sim-types.h"