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:
parent
defdde4f72
commit
4ae881aba3
4
external/gpl3/gdb/dist/gdb/inf-ptrace.c
vendored
4
external/gpl3/gdb/dist/gdb/inf-ptrace.c
vendored
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user