summaryrefslogtreecommitdiff
path: root/sim/common/sim-signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-signal.h')
-rw-r--r--sim/common/sim-signal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/common/sim-signal.h b/sim/common/sim-signal.h
index 272e17dad05..8dd0d8f875c 100644
--- a/sim/common/sim-signal.h
+++ b/sim/common/sim-signal.h
@@ -21,6 +21,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef SIM_SIGNAL_H
#define SIM_SIGNAL_H
+#include "gdb/signals.h"
+
/* Signals we use.
This provides a layer between our values and host/target values. */
@@ -45,5 +47,6 @@ typedef enum {
} SIM_SIGNAL;
int sim_signal_to_host (SIM_DESC sd, SIM_SIGNAL);
+enum target_signal sim_signal_to_target (SIM_DESC sd, SIM_SIGNAL);
#endif /* SIM_SIGNAL_H */