Fix gdbserver SPU build
authorPedro Alves <palves@redhat.com>
Mon, 24 Aug 2015 16:58:22 +0000 (17:58 +0100)
committerPedro Alves <palves@redhat.com>
Mon, 24 Aug 2015 16:58:22 +0000 (17:58 +0100)
commita8c6d4fcd6b2a30c2b5b87d656ce035dcf8b0035
tree35700ea797bff0a1c3716dc9c410120e51d6bf23
parent4422ac93e5d3d23dd441aadaa49c81356aa59b73
Fix gdbserver SPU build

Ref: https://sourceware.org/ml/gdb-patches/2015-08/msg00675.html

 gdbserver/spu-low.c: In function 'spu_request_interrupt':
 gdbserver/spu-low.c:639: error: incompatible type for argument 1 of 'ptid_get_lwp'

gdb/gdbserver/ChangeLog:
2015-08-24  Pedro Alves  <palves@redhat.com>

* spu-low.c (spu_request_interrupt): Use lwpid_of instead of
ptid_get_lwp.
gdb/gdbserver/ChangeLog
gdb/gdbserver/spu-low.c