forked from Imagelibrary/binutils-gdb
Add system includes in sim
This updates various parts of the sim to include missing system headers. I made the includes unconditional, because other parts of the tree are already doing this. 2021-04-08 Tom Tromey <tom@tromey.com> * traps.c: Include stdlib.h. * cris-tmpl.c: Include stdlib.h. sim/erc32/ChangeLog 2021-04-08 Tom Tromey <tom@tromey.com> * func.c: Include sys/time.h. sim/frv/ChangeLog 2021-04-08 Tom Tromey <tom@tromey.com> * traps.c: Include stdlib.h. * registers.c: Include stdlib.h. * profile.c: Include stdlib.h. * memory.c: Include stdlib.h. * interrupts.c: Include stdlib.h. * frv.c: Include stdlib.h. * cache.c: Include stdlib.h. sim/iq2000/ChangeLog 2021-04-08 Tom Tromey <tom@tromey.com> * iq2000.c: Include stdlib.h. sim/m32r/ChangeLog 2021-04-08 Tom Tromey <tom@tromey.com> * traps.c: Include stdlib.h. * m32r.c: Include stdlib.h. sim/ppc/ChangeLog 2021-04-08 Tom Tromey <tom@tromey.com> * emul_unix.c: Include time.h.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2021-04-08 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* traps.c: Include stdlib.h.
|
||||
* m32r.c: Include stdlib.h.
|
||||
|
||||
2021-04-08 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* sim-if.c (sim_open, sim_create_inferior): Use new-style
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "sim-main.h"
|
||||
#include "cgen-mem.h"
|
||||
#include "cgen-ops.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Return the size of REGNO in bytes. */
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "sim-main.h"
|
||||
#include "sim-syscall.h"
|
||||
#include "targ-vals.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#define TRAP_FLUSH_CACHE 12
|
||||
/* The semantic code invokes this for invalid (unrecognized) instructions. */
|
||||
|
||||
Reference in New Issue
Block a user