[PATCH] Add support for NetBSD threads in hppa-nbsd-nat.c

Simon Marchi simark@simark.ca
Fri Mar 20 02:43:22 GMT 2020


On 2020-03-19 10:41 a.m., Kamil Rytarowski wrote:
> NetBSD ptrace(2) accepts thread id (LWP) as the 4th argument for threads.
> 
> gdb/ChangeLog:
> 
> 	* hppa-nbsd-nat.c (fetch_registers): New variable lwp and pass
> 	it to the ptrace call.
> 	* (store_registers): Likewise.

The asterisk on the last entry should be omitted, you only use it before
file names:

 	* hppa-nbsd-nat.c (fetch_registers): New variable lwp and pass
 	it to the ptrace call.
 	(store_registers): Likewise.

Otherwise, this is ok.

Simon


More information about the Gdb-patches mailing list