diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-13 22:14:40 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-17 00:11:48 -0400 |
commit | ef5058ae8714d68c0f671726618e721681523ac5 (patch) | |
tree | de9b85e73d69328fc91d905709fe65754cdc654b /sim/common/sim-utils.h | |
parent | 62cfa544a44b6891f8fcdec953232a99da74a21c (diff) | |
download | binutils-ef5058ae8714d68c0f671726618e721681523ac5.zip binutils-ef5058ae8714d68c0f671726618e721681523ac5.tar.gz binutils-ef5058ae8714d68c0f671726618e721681523ac5.tar.bz2 |
sim: split sim/callback.h include out
The sim-basics.h is too big and includes too many things. This leads
to some arch's sim-main.h having circular loop issues with defs, and
makes it hard to separate out common objects from arch-specific defs.
By splitting up sim-basics.h and killing off sim-main.h, it'll make
it easier to separate out the two.
Start with splitting out sim/callback.h.
Diffstat (limited to 'sim/common/sim-utils.h')
-rw-r--r-- | sim/common/sim-utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/sim-utils.h b/sim/common/sim-utils.h index 9cc19f5..bfc8ac7 100644 --- a/sim/common/sim-utils.h +++ b/sim/common/sim-utils.h @@ -60,6 +60,7 @@ SIM_RC sim_analyze_program (SIM_DESC sd, const char *prog_name, 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, |