projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb/
[deliverable/binutils-gdb.git]
/
gdb
/
gdbserver
/
linux-low.c
diff --git
a/gdb/gdbserver/linux-low.c
b/gdb/gdbserver/linux-low.c
index 5fe19fdf72ce2fb1a698870014fa7f6d44126537..e3c6ed6766748993f683ff5642dd0fb28b38ffc6 100644
(file)
--- a/
gdb/gdbserver/linux-low.c
+++ b/
gdb/gdbserver/linux-low.c
@@
-1062,7
+1062,7
@@
linux_kill (int pid)
static int
get_detach_signal (struct thread_info *thread)
{
static int
get_detach_signal (struct thread_info *thread)
{
- enum
target
_signal signo = TARGET_SIGNAL_0;
+ enum
gdb
_signal signo = TARGET_SIGNAL_0;
int status;
struct lwp_info *lp = get_thread_lwp (thread);
int status;
struct lwp_info *lp = get_thread_lwp (thread);
@@
-1102,7
+1102,7
@@
get_detach_signal (struct thread_info *thread)
return 0;
}
return 0;
}
- signo =
target
_signal_from_host (WSTOPSIG (status));
+ signo =
gdb
_signal_from_host (WSTOPSIG (status));
if (program_signals_p && !program_signals[signo])
{
if (program_signals_p && !program_signals[signo])
{
@@
-1110,7
+1110,7
@@
get_detach_signal (struct thread_info *thread)
fprintf (stderr,
"GPS: lwp %s had signal %s, but it is in nopass state\n",
target_pid_to_str (ptid_of (lp)),
fprintf (stderr,
"GPS: lwp %s had signal %s, but it is in nopass state\n",
target_pid_to_str (ptid_of (lp)),
-
target
_signal_to_string (signo));
+
gdb
_signal_to_string (signo));
return 0;
}
else if (!program_signals_p
return 0;
}
else if (!program_signals_p
@@
-1124,7
+1124,7
@@
get_detach_signal (struct thread_info *thread)
"GPS: lwp %s had signal %s, "
"but we don't know if we should pass it. Default to not.\n",
target_pid_to_str (ptid_of (lp)),
"GPS: lwp %s had signal %s, "
"but we don't know if we should pass it. Default to not.\n",
target_pid_to_str (ptid_of (lp)),
-
target
_signal_to_string (signo));
+
gdb
_signal_to_string (signo));
return 0;
}
else
return 0;
}
else
@@
-1133,7
+1133,7
@@
get_detach_signal (struct thread_info *thread)
fprintf (stderr,
"GPS: lwp %s has pending signal %s: delivering it.\n",
target_pid_to_str (ptid_of (lp)),
fprintf (stderr,
"GPS: lwp %s has pending signal %s: delivering it.\n",
target_pid_to_str (ptid_of (lp)),
-
target
_signal_to_string (signo));
+
gdb
_signal_to_string (signo));
return WSTOPSIG (status);
}
return WSTOPSIG (status);
}
@@
-2265,7
+2265,7
@@
linux_stabilize_threads (void)
if (ourstatus.value.sig != TARGET_SIGNAL_0
|| current_inferior->last_resume_kind == resume_stop)
{
if (ourstatus.value.sig != TARGET_SIGNAL_0
|| current_inferior->last_resume_kind == resume_stop)
{
- wstat = W_STOPCODE (
target
_signal_to_host (ourstatus.value.sig));
+ wstat = W_STOPCODE (
gdb
_signal_to_host (ourstatus.value.sig));
enqueue_one_deferred_signal (lwp, &wstat);
}
}
enqueue_one_deferred_signal (lwp, &wstat);
}
}
@@
-2386,7
+2386,7
@@
retry:
else
{
ourstatus->kind = TARGET_WAITKIND_SIGNALLED;
else
{
ourstatus->kind = TARGET_WAITKIND_SIGNALLED;
- ourstatus->value.sig =
target
_signal_from_host (WTERMSIG (w));
+ ourstatus->value.sig =
gdb
_signal_from_host (WTERMSIG (w));
if (debug_threads)
fprintf (stderr,
if (debug_threads)
fprintf (stderr,
@@
-2585,7
+2585,7
@@
Check if we're already there.\n",
|| WSTOPSIG (w) == __SIGRTMIN + 1))
||
#endif
|| WSTOPSIG (w) == __SIGRTMIN + 1))
||
#endif
- (pass_signals[
target
_signal_from_host (WSTOPSIG (w))]
+ (pass_signals[
gdb
_signal_from_host (WSTOPSIG (w))]
&& !(WSTOPSIG (w) == SIGSTOP
&& current_inferior->last_resume_kind == resume_stop))))
{
&& !(WSTOPSIG (w) == SIGSTOP
&& current_inferior->last_resume_kind == resume_stop))))
{
@@
-2738,11
+2738,11
@@
Check if we're already there.\n",
{
/* A thread that has been requested to stop by GDB with vCont;t,
but, it stopped for other reasons. */
{
/* A thread that has been requested to stop by GDB with vCont;t,
but, it stopped for other reasons. */
- ourstatus->value.sig =
target
_signal_from_host (WSTOPSIG (w));
+ ourstatus->value.sig =
gdb
_signal_from_host (WSTOPSIG (w));
}
else
{
}
else
{
- ourstatus->value.sig =
target
_signal_from_host (WSTOPSIG (w));
+ ourstatus->value.sig =
gdb
_signal_from_host (WSTOPSIG (w));
}
gdb_assert (ptid_equal (step_over_bkpt, null_ptid));
}
gdb_assert (ptid_equal (step_over_bkpt, null_ptid));
This page took
0.024986 seconds
and
4
git commands to generate.