Add support for NetBSD threads in sh-nbsd-nat.c
authorKamil Rytarowski <n54@gmx.com>
Tue, 17 Mar 2020 15:31:49 +0000 (16:31 +0100)
committerKamil Rytarowski <n54@gmx.com>
Tue, 17 Mar 2020 15:34:06 +0000 (16:34 +0100)
commita225c9a8692814b4a29360479aee217d73e22d50
tree4d6a313043c46a23131c6e700c1a5d60b5408cd0
parent9809762324491b851332ce600ae9bde8dd34f601
Add support for NetBSD threads in sh-nbsd-nat.c

NetBSD ptrace(2) accepts thread id (LWP) as the 4th argument for threads.

gdb/ChangeLog:

* sh-nbsd-nat.c (fetch_registers): New variable lwp and pass
it to the ptrace call.
* sh-nbsd-nat.c (store_registers): Likewise.
gdb/ChangeLog
gdb/sh-nbsd-nat.c
This page took 0.03436 seconds and 4 git commands to generate.