From a493e3e2e429e4832b8620bd920ad07d0c2892d7 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 24 May 2012 16:51:47 +0000 Subject: gdb/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. gdb/gdbserver/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. include/gdb/ 2012-05-24 Pedro Alves PR gdb/7205 * gdb/signals.def: Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/arm/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/avr/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/common/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/cr16/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/d10v/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/erc32/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/m32c/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/ppc/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/rl78/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/rx/ 2012-05-24 Pedro Alves PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. --- sim/m32c/ChangeLog | 6 ++++++ sim/m32c/gdb-if.c | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) (limited to 'sim/m32c') diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog index 899657b..63d6b4a 100644 --- a/sim/m32c/ChangeLog +++ b/sim/m32c/ChangeLog @@ -1,3 +1,9 @@ +2012-05-24 Pedro Alves + + PR gdb/7205 + + Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. + 2012-05-18 Nick Clifton PR 14072 diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c index 863fcf4..bf84903 100644 --- a/sim/m32c/gdb-if.c +++ b/sim/m32c/gdb-if.c @@ -530,28 +530,28 @@ m32c_signal_to_target (int m32c) switch (m32c) { case 4: - return TARGET_SIGNAL_ILL; + return GDB_SIGNAL_ILL; case 5: - return TARGET_SIGNAL_TRAP; + return GDB_SIGNAL_TRAP; case 10: - return TARGET_SIGNAL_BUS; + return GDB_SIGNAL_BUS; case 11: - return TARGET_SIGNAL_SEGV; + return GDB_SIGNAL_SEGV; case 24: - return TARGET_SIGNAL_XCPU; + return GDB_SIGNAL_XCPU; case 2: - return TARGET_SIGNAL_INT; + return GDB_SIGNAL_INT; case 8: - return TARGET_SIGNAL_FPE; + return GDB_SIGNAL_FPE; case 6: - return TARGET_SIGNAL_ABRT; + return GDB_SIGNAL_ABRT; } return 0; @@ -566,7 +566,7 @@ handle_step (int rc) if (M32C_STEPPED (rc) || M32C_HIT_BREAK (rc)) { reason = sim_stopped; - siggnal = TARGET_SIGNAL_TRAP; + siggnal = GDB_SIGNAL_TRAP; } else if (M32C_STOPPED (rc)) { @@ -613,7 +613,7 @@ sim_resume (SIM_DESC sd, int step, int sig_to_deliver) { stop = 0; reason = sim_stopped; - siggnal = TARGET_SIGNAL_INT; + siggnal = GDB_SIGNAL_INT; break; } -- cgit v1.1