diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-03-17 17:57:14 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-03-19 22:20:03 +0100 |
commit | f09db380942d1393e6f60d1ecaa7d4b6edfaaecf (patch) | |
tree | 15e0087100237625a2314205923be04213c83f9f /include | |
parent | f3a08f77787cfe1b9edb7b5ab82ce7a2d527c8cf (diff) | |
download | fsf-binutils-gdb-f09db380942d1393e6f60d1ecaa7d4b6edfaaecf.zip fsf-binutils-gdb-f09db380942d1393e6f60d1ecaa7d4b6edfaaecf.tar.gz fsf-binutils-gdb-f09db380942d1393e6f60d1ecaa7d4b6edfaaecf.tar.bz2 |
Disable get_ptrace_pid for NetBSD
Unlike most other Operating Systems, NetBSD tracks both pid and lwp.
The process id on NetBSD is stored always in the pid field of ptid.
gdb/ChangeLog:
* inf-ptrace.h: Disable get_ptrace_pid on NetBSD.
* inf-ptrace.c: Likewise.
* (gdb_ptrace): Add.
* (inf_ptrace_target::resume): Update.
* (inf_ptrace_target::xfer_partial): Likewise.
* (inf_ptrace_peek_poke): Change argument `pid' to `ptid'.
* (inf_ptrace_peek_poke): Update.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions