aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-trace.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-04 21:09:23 -0500
committerMike Frysinger <vapier@gentoo.org>2021-12-04 22:10:04 -0500
commit843bf75416dd11d91a5d617f7a49f6e9e5025b42 (patch)
tree9c38ee66660ea7438c727dd330fce45520e0ee11 /sim/common/cgen-trace.h
parent33bbd5e8dd0d0967da4a86007ef1e8d268367492 (diff)
downloadgdb-843bf75416dd11d91a5d617f7a49f6e9e5025b42.zip
gdb-843bf75416dd11d91a5d617f7a49f6e9e5025b42.tar.gz
gdb-843bf75416dd11d91a5d617f7a49f6e9e5025b42.tar.bz2
sim: include ansidecl.h when needed
Avoid implicit include deps with this to help untangle sim headers so we can get rid of arch-specific sim-main.h.
Diffstat (limited to 'sim/common/cgen-trace.h')
-rw-r--r--sim/common/cgen-trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/cgen-trace.h b/sim/common/cgen-trace.h
index c617e7e..96048b9 100644
--- a/sim/common/cgen-trace.h
+++ b/sim/common/cgen-trace.h
@@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef CGEN_TRACE_H
#define CGEN_TRACE_H
+#include "ansidecl.h"
+
void cgen_trace_insn_init (SIM_CPU *, int);
void cgen_trace_insn_fini (SIM_CPU *, const struct argbuf *, int);
void cgen_trace_insn (SIM_CPU *, const struct cgen_insn *,