diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-03-19 14:01:36 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-03-19 14:49:06 +0100 |
commit | fcc7376e0a4c3a68ef0b9d12fcc3733416b1cc8c (patch) | |
tree | 72c3bf069f89cbca5e81e39ad3efcfdc56c11505 /ld | |
parent | ef3df11042c3dbaf695c1260b42364688cafa8ea (diff) | |
download | gdb-fcc7376e0a4c3a68ef0b9d12fcc3733416b1cc8c.zip gdb-fcc7376e0a4c3a68ef0b9d12fcc3733416b1cc8c.tar.gz gdb-fcc7376e0a4c3a68ef0b9d12fcc3733416b1cc8c.tar.bz2 |
Avoid get_ptrace_pid() usage on NetBSD in x86-bsd-nat.c
Add gdb_ptrace() that wraps the ptrace(2) API and correctly passes
the pid,lwp pair to the calls on NetBSD; and the result of
get_ptrace_pid() on other BSD Operating Systems.
gdb/ChangeLog:
* x86-bsd-nat.c (gdb_ptrace): New.
* (x86bsd_dr_set): Add new argument `ptid'.
* (x86bsd_dr_get, x86bsd_dr_set, x86bsd_dr_set_control,
x86bsd_dr_set_addr): Update.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions