diff options
author | Pedro Alves <palves@redhat.com> | 2015-08-24 17:58:22 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-08-24 17:58:22 +0100 |
commit | a8c6d4fcd6b2a30c2b5b87d656ce035dcf8b0035 (patch) | |
tree | 35700ea797bff0a1c3716dc9c410120e51d6bf23 /gdb/gdbserver/spu-low.c | |
parent | 4422ac93e5d3d23dd441aadaa49c81356aa59b73 (diff) | |
download | gdb-a8c6d4fcd6b2a30c2b5b87d656ce035dcf8b0035.zip gdb-a8c6d4fcd6b2a30c2b5b87d656ce035dcf8b0035.tar.gz gdb-a8c6d4fcd6b2a30c2b5b87d656ce035dcf8b0035.tar.bz2 |
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.
Diffstat (limited to 'gdb/gdbserver/spu-low.c')
-rw-r--r-- | gdb/gdbserver/spu-low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/spu-low.c b/gdb/gdbserver/spu-low.c index 2ca9159..a110a0e 100644 --- a/gdb/gdbserver/spu-low.c +++ b/gdb/gdbserver/spu-low.c @@ -636,7 +636,7 @@ spu_request_interrupt (void) { struct thread_info *thr = get_first_thread (); - syscall (SYS_tkill, ptid_get_lwp (thr), SIGINT); + syscall (SYS_tkill, lwpid_of (thr), SIGINT); } static struct target_ops spu_target_ops = { |