aboutsummaryrefslogtreecommitdiff
path: root/sim/msp430/msp430-sim.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-03-08 00:56:53 -0500
committerMike Frysinger <vapier@gentoo.org>2015-03-14 07:28:26 -0400
commitc1e768db524407c25d14fe693a931af9cb6d9ad4 (patch)
tree7d049cb068b7a8ccabe4b1d08a1db1cd6b04a2a9 /sim/msp430/msp430-sim.c
parent465fb143c87076b6416a8d0d5dd79bb016060fe3 (diff)
downloadgdb-c1e768db524407c25d14fe693a931af9cb6d9ad4.zip
gdb-c1e768db524407c25d14fe693a931af9cb6d9ad4.tar.gz
gdb-c1e768db524407c25d14fe693a931af9cb6d9ad4.tar.bz2
sim: msp430: use common warnings options
This triggers a bunch of new warnings, so fix some of them.
Diffstat (limited to 'sim/msp430/msp430-sim.c')
-rw-r--r--sim/msp430/msp430-sim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/msp430/msp430-sim.c b/sim/msp430/msp430-sim.c
index ee86339..f7057e2 100644
--- a/sim/msp430/msp430-sim.c
+++ b/sim/msp430/msp430-sim.c
@@ -24,12 +24,14 @@
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
+#include <unistd.h>
#include <assert.h>
#include "bfd.h"
#include "opcode/msp430-decode.h"
#include "sim-main.h"
#include "dis-asm.h"
#include "targ-vals.h"
+#include "trace.h"
static int
loader_write_mem (SIM_DESC sd,