From 2ea286498fd2ddceaf074bfbc9a2986777ea0396 Mon Sep 17 00:00:00 2001 From: Pedro Alves <palves@redhat.com> Date: Thu, 24 May 2012 16:39:15 +0000 Subject: 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. --- gdb/gdbserver/target.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/gdbserver/target.c') diff --git a/gdb/gdbserver/target.c b/gdb/gdbserver/target.c index 998d6c1..7539476 100644 --- a/gdb/gdbserver/target.c +++ b/gdb/gdbserver/target.c @@ -87,8 +87,8 @@ mywait (ptid_t ptid, struct target_waitstatus *ourstatus, int options, "\nChild exited with status %d\n", ourstatus->value.integer); else if (ourstatus->kind == TARGET_WAITKIND_SIGNALLED) fprintf (stderr, "\nChild terminated with signal = 0x%x (%s)\n", - target_signal_to_host (ourstatus->value.sig), - target_signal_to_name (ourstatus->value.sig)); + gdb_signal_to_host (ourstatus->value.sig), + gdb_signal_to_name (ourstatus->value.sig)); if (connected_wait) server_waiting = 0; @@ -157,11 +157,11 @@ target_waitstatus_to_string (const struct target_waitstatus *ws) break; case TARGET_WAITKIND_STOPPED: sprintf (buf, "%sstopped, signal = %s", - kind_str, target_signal_to_name (ws->value.sig)); + kind_str, gdb_signal_to_name (ws->value.sig)); break; case TARGET_WAITKIND_SIGNALLED: sprintf (buf, "%ssignalled, signal = %s", - kind_str, target_signal_to_name (ws->value.sig)); + kind_str, gdb_signal_to_name (ws->value.sig)); break; case TARGET_WAITKIND_LOADED: sprintf (buf, "%sloaded", kind_str); -- cgit v1.1