Index: sim/cr16/cr16_sim.h |
diff --git a/sim/cr16/cr16_sim.h b/sim/cr16/cr16_sim.h |
index c7783ba1714e835894ce65081887bb353e7b50fa..620d91c0d721817e84a8155998c2b0a008a7f77f 100644 |
--- a/sim/cr16/cr16_sim.h |
+++ b/sim/cr16/cr16_sim.h |
@@ -1,5 +1,5 @@ |
/* Simulation code for the CR16 processor. |
- Copyright (C) 2008-2012 Free Software Foundation, Inc. |
+ Copyright (C) 2008-2013 Free Software Foundation, Inc. |
Contributed by M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com> |
This file is part of GDB, the GNU debugger. |
@@ -472,3 +472,9 @@ extern void write_longlong PARAMS ((uint8 *addr, int64 data)); |
PSR is masked for zero bits. */ |
extern creg_t move_to_cr (int cr, creg_t mask, creg_t val, int psw_hw_p); |
+ |
+#ifndef SIGTRAP |
+#define SIGTRAP 5 |
+#endif |
+/* Special purpose trap */ |
+#define TRAP_BREAKPOINT 8 |