sim: callback: generate signal map
[deliverable/binutils-gdb.git] / sim / common / callback.c
index 071e7b149b97fcc896bb8a84f46b5b62aa17e155..aca0112853c46da3a9b8b88ea68b48256aa7c523 100644 (file)
@@ -32,6 +32,7 @@
 #include <limits.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <signal.h>
 #include <time.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -56,6 +57,7 @@ void sim_cb_eprintf (host_callback *, const char *, ...);
 
 extern CB_TARGET_DEFS_MAP cb_init_syscall_map[];
 extern CB_TARGET_DEFS_MAP cb_init_errno_map[];
+extern CB_TARGET_DEFS_MAP cb_init_signal_map[];
 extern CB_TARGET_DEFS_MAP cb_init_open_map[];
 
 /* Make sure the FD provided is ok.  If not, return non-zero
@@ -676,6 +678,7 @@ os_init (host_callback *p)
 
   p->syscall_map = cb_init_syscall_map;
   p->errno_map = cb_init_errno_map;
+  p->signal_map = cb_init_signal_map;
   p->open_map = cb_init_open_map;
 
   return 1;
This page took 0.023344 seconds and 4 git commands to generate.