diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-03-14 14:17:16 +0100 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-03-14 14:20:40 +0100 |
commit | 013f99f035c49b000ca058db80ad15e00aa330dc (patch) | |
tree | c69c897cd3d013b2c4f3168c6cd699ee852a706f /COPYING.NEWLIB | |
parent | 6227b330d563add042066259e5f933c89a85b3b5 (diff) | |
download | gdb-013f99f035c49b000ca058db80ad15e00aa330dc.zip gdb-013f99f035c49b000ca058db80ad15e00aa330dc.tar.gz gdb-013f99f035c49b000ca058db80ad15e00aa330dc.tar.bz2 |
Add support for NetBSD threads in x86-bsd-nat.c
NetBSD ptrace(2) PT_GETDBREGS/PT_SETDBREGS accepts thread id (LWP)
as the 4th argument for threads.
gdb/ChangeLog:
* x86-bsd-nat.c (x86bsd_dr_get): New variable lwp and pass
it to the ptrace call.
* x86-bsd-nat.c (x86bsd_dr_set): Likewise.
Diffstat (limited to 'COPYING.NEWLIB')
0 files changed, 0 insertions, 0 deletions