diff options
author | Pedro Alves <palves@redhat.com> | 2012-05-24 16:39:15 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-05-24 16:39:15 +0000 |
commit | 2ea286498fd2ddceaf074bfbc9a2986777ea0396 (patch) | |
tree | 4360c24b1ef43fad4fa8143e65435c33f053617c /gdb/darwin-nat.c | |
parent | b09846a918b74f0371149f730f8b391548b11a8d (diff) | |
download | gdb-2ea286498fd2ddceaf074bfbc9a2986777ea0396.zip gdb-2ea286498fd2ddceaf074bfbc9a2986777ea0396.tar.gz gdb-2ea286498fd2ddceaf074bfbc9a2986777ea0396.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
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.
Diffstat (limited to 'gdb/darwin-nat.c')
-rw-r--r-- | gdb/darwin-nat.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index b5bf7cc..54b1f26 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -91,9 +91,9 @@ extern boolean_t exc_server (mach_msg_header_t *in, mach_msg_header_t *out); static void darwin_stop (ptid_t); static void darwin_resume_to (struct target_ops *ops, ptid_t ptid, int step, - enum target_signal signal); + enum gdb_signal signal); static void darwin_resume (ptid_t ptid, int step, - enum target_signal signal); + enum gdb_signal signal); static ptid_t darwin_wait_to (struct target_ops *ops, ptid_t ptid, struct target_waitstatus *status, int options); @@ -787,7 +787,7 @@ darwin_suspend_inferior_threads (struct inferior *inf) } static void -darwin_resume (ptid_t ptid, int step, enum target_signal signal) +darwin_resume (ptid_t ptid, int step, enum gdb_signal signal) { struct target_waitstatus status; int pid; @@ -804,7 +804,7 @@ darwin_resume (ptid_t ptid, int step, enum target_signal signal) if (signal == TARGET_SIGNAL_0) nsignal = 0; else - nsignal = target_signal_to_host (signal); + nsignal = gdb_signal_to_host (signal); /* Don't try to single step all threads. */ if (step) @@ -853,7 +853,7 @@ darwin_resume (ptid_t ptid, int step, enum target_signal signal) static void darwin_resume_to (struct target_ops *ops, ptid_t ptid, int step, - enum target_signal signal) + enum gdb_signal signal) { return darwin_resume (ptid, step, signal); } @@ -913,10 +913,10 @@ darwin_decode_message (mach_msg_header_t *hdr, if (thread->event.ex_data[0] == EXC_SOFT_SIGNAL) { status->value.sig = - target_signal_from_host (thread->event.ex_data[1]); + gdb_signal_from_host (thread->event.ex_data[1]); inferior_debug (5, _(" (signal %d: %s)\n"), thread->event.ex_data[1], - target_signal_to_name (status->value.sig)); + gdb_signal_to_name (status->value.sig)); /* If the thread is stopped because it has received a signal that gdb has just sent, continue. */ |