Index: sim/ppc/sim_calls.c |
diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c |
index e80db88b0d9dc0c93f839bd1e91bd0aeffd01d76..66d7f036d7fb42e5fc5f80cc88d405c186bea2d9 100644 |
--- a/sim/ppc/sim_calls.c |
+++ b/sim/ppc/sim_calls.c |
@@ -198,13 +198,13 @@ sim_stop_reason (SIM_DESC sd, enum sim_stop *reason, int *sigrc) |
case was_continuing: |
*reason = sim_stopped; |
if (status.signal == 0) |
- *sigrc = TARGET_SIGNAL_TRAP; |
+ *sigrc = GDB_SIGNAL_TRAP; |
else |
*sigrc = status.signal; |
break; |
case was_trap: |
*reason = sim_stopped; |
- *sigrc = TARGET_SIGNAL_TRAP; |
+ *sigrc = GDB_SIGNAL_TRAP; |
break; |
case was_exited: |
*reason = sim_exited; |