]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/sim-signal.h
* remote-sim.c (gdbsim_wait): Pass target signal numbers to
[thirdparty/binutils-gdb.git] / sim / common / sim-signal.h
index 272e17dad0514ac0d4de1f4d95edc4c48770945a..8dd0d8f875c7ebc18f31218ab9e1e0450c292d1a 100644 (file)
@@ -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 */