diff options
author | Pedro Alves <palves@redhat.com> | 2012-05-24 16:51:47 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-05-24 16:51:47 +0000 |
commit | a493e3e2e429e4832b8620bd920ad07d0c2892d7 (patch) | |
tree | 4055e5c50cce1e1b622345a311c16a1441951778 /sim/rl78 | |
parent | 2ea286498fd2ddceaf074bfbc9a2986777ea0396 (diff) | |
download | gdb-a493e3e2e429e4832b8620bd920ad07d0c2892d7.zip gdb-a493e3e2e429e4832b8620bd920ad07d0c2892d7.tar.gz gdb-a493e3e2e429e4832b8620bd920ad07d0c2892d7.tar.bz2 |
gdb/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
gdb/gdbserver/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
include/gdb/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
* gdb/signals.def: Replace TARGET_SIGNAL_ with GDB_SIGNAL_
throughout.
sim/arm/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
sim/avr/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
sim/common/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
sim/cr16/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
sim/d10v/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
sim/erc32/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
sim/m32c/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
sim/ppc/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
sim/rl78/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
sim/rx/
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
Diffstat (limited to 'sim/rl78')
-rw-r--r-- | sim/rl78/ChangeLog | 6 | ||||
-rw-r--r-- | sim/rl78/gdb-if.c | 22 |
2 files changed, 17 insertions, 11 deletions
diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog index af2898d..893bfb3 100644 --- a/sim/rl78/ChangeLog +++ b/sim/rl78/ChangeLog @@ -1,3 +1,9 @@ +2012-05-24 Pedro Alves <palves@redhat.com> + + PR gdb/7205 + + Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. + 2012-03-24 Mike Frysinger <vapier@gentoo.org> * aclocal.m4, config.in, configure: Regenerate. diff --git a/sim/rl78/gdb-if.c b/sim/rl78/gdb-if.c index e7c1277..e2a5ea0 100644 --- a/sim/rl78/gdb-if.c +++ b/sim/rl78/gdb-if.c @@ -371,30 +371,30 @@ rl78_signal_to_target (int sig) switch (sig) { 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; break; case 2: - return TARGET_SIGNAL_INT; + return GDB_SIGNAL_INT; case 8: - return TARGET_SIGNAL_FPE; + return GDB_SIGNAL_FPE; break; case 6: - return TARGET_SIGNAL_ABRT; + return GDB_SIGNAL_ABRT; } return 0; @@ -410,7 +410,7 @@ handle_step (int rc) if (RL78_STEPPED (rc) || RL78_HIT_BREAK (rc)) { reason = sim_stopped; - siggnal = TARGET_SIGNAL_TRAP; + siggnal = GDB_SIGNAL_TRAP; } else if (RL78_STOPPED (rc)) { @@ -452,7 +452,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; } @@ -460,7 +460,7 @@ sim_resume (SIM_DESC sd, int step, int sig_to_deliver) && (hw_breakpoints[pc >> 3] & (1 << (pc & 0x7)))) { reason = sim_stopped; - siggnal = TARGET_SIGNAL_TRAP; + siggnal = GDB_SIGNAL_TRAP; break; } rc = setjmp (decode_jmp_buf); |