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 /gdb/darwin-nat.c | |
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 'gdb/darwin-nat.c')
-rw-r--r-- | gdb/darwin-nat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index 54b1f26..26ee23a 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -801,7 +801,7 @@ darwin_resume (ptid_t ptid, int step, enum gdb_signal signal) (2, _("darwin_resume: pid=%d, tid=0x%x, step=%d, signal=%d\n"), ptid_get_pid (ptid), ptid_get_tid (ptid), step, signal); - if (signal == TARGET_SIGNAL_0) + if (signal == GDB_SIGNAL_0) nsignal = 0; else nsignal = gdb_signal_to_host (signal); @@ -933,12 +933,12 @@ darwin_decode_message (mach_msg_header_t *hdr, break; case EXC_BREAKPOINT: /* Many internal GDB routines expect breakpoints to be reported - as TARGET_SIGNAL_TRAP, and will report TARGET_EXC_BREAKPOINT + as GDB_SIGNAL_TRAP, and will report TARGET_EXC_BREAKPOINT as a spurious signal. */ - status->value.sig = TARGET_SIGNAL_TRAP; + status->value.sig = GDB_SIGNAL_TRAP; break; default: - status->value.sig = TARGET_SIGNAL_UNKNOWN; + status->value.sig = GDB_SIGNAL_UNKNOWN; break; } @@ -1052,7 +1052,7 @@ darwin_wait (ptid_t ptid, struct target_waitstatus *status) darwin_inf_fake_stop = NULL; status->kind = TARGET_WAITKIND_STOPPED; - status->value.sig = TARGET_SIGNAL_TRAP; + status->value.sig = GDB_SIGNAL_TRAP; thread = VEC_index (darwin_thread_t, inf->private->threads, 0); thread->msg_state = DARWIN_STOPPED; return ptid_build (inf->pid, 0, thread->gdb_port); @@ -1263,7 +1263,7 @@ darwin_stop_inferior (struct inferior *inf) { ptid = darwin_wait (inferior_ptid, &wstatus); if (wstatus.kind == TARGET_WAITKIND_STOPPED - && wstatus.value.sig == TARGET_SIGNAL_STOP) + && wstatus.value.sig == GDB_SIGNAL_STOP) break; } } |