]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Add support for NetBSD threads in x86-bsd-nat.c
authorKamil Rytarowski <n54@gmx.com>
Sat, 14 Mar 2020 13:17:16 +0000 (14:17 +0100)
committerKamil Rytarowski <n54@gmx.com>
Sat, 14 Mar 2020 13:20:40 +0000 (14:20 +0100)
commit013f99f035c49b000ca058db80ad15e00aa330dc
treec69c897cd3d013b2c4f3168c6cd699ee852a706f
parent6227b330d563add042066259e5f933c89a85b3b5
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.
gdb/ChangeLog
gdb/x86-bsd-nat.c