aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread-fsm.h
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-03-14 17:41:11 +0100
committerKamil Rytarowski <n54@gmx.com>2020-03-17 23:16:49 +0100
commit2108a63a5a736c2329a2a92ca58e0b9993dc5d42 (patch)
treee5cebff36db00e96bc766cf190c4bacd500f065f /gdb/thread-fsm.h
parentd3c3c54293ce8c42503e66f8076059a7c8b1639f (diff)
downloadgdb-2108a63a5a736c2329a2a92ca58e0b9993dc5d42.zip
gdb-2108a63a5a736c2329a2a92ca58e0b9993dc5d42.tar.gz
gdb-2108a63a5a736c2329a2a92ca58e0b9993dc5d42.tar.bz2
Add support for NetBSD threads in sparc-nat.c
NetBSD ptrace(2) accepts thread id (LWP) as the 4th argument for threads. Define gdb_ptrace() a wrapper function for ptrace(2) that properly passes the pid,lwp pair on NetBSD and the result of get_ptrace_pid() for others. gdb/ChangeLog: * sparc-nat.c (gdb_ptrace): New. * sparc-nat.c (sparc_fetch_inferior_registers) (sparc_store_inferior_registers) Remove obsolete comment. * sparc-nat.c (sparc_fetch_inferior_registers) (sparc_store_inferior_registers) Switch from pid_t to ptid_t. * sparc-nat.c (sparc_fetch_inferior_registers) (sparc_store_inferior_registers) Use gdb_ptrace.
Diffstat (limited to 'gdb/thread-fsm.h')
0 files changed, 0 insertions, 0 deletions