On NetBSD the data part of the PT_STEP request is the lid to send the signal,

not the signal to send! Make it so.
This commit is contained in:
christos 2012-04-11 21:39:01 +00:00
parent defdde4f72
commit 4ae881aba3
1 changed files with 4 additions and 0 deletions

View File

@ -366,7 +366,11 @@ inf_ptrace_resume (struct target_ops *ops,
all possible successor instructions), so we don't have to
worry about that here. */
request = PT_STEP;
#ifdef __NetBSD__
sig = ptid_get_lwp(ptid);
#else
sig = 0;
#endif
} else
sig = target_signal_to_host (signal);