[GDBserver] Fix SH/Linux build.
authorPedro Alves <palves@redhat.com>
Wed, 9 Apr 2014 14:01:33 +0000 (15:01 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 9 Apr 2014 15:12:33 +0000 (16:12 +0100)
commit2eec7d5ba1928301955f4da013072c3e2f69f4a0
treed7fafd3b437daed15218e079d42e06f03b84c571
parent00c06fdc57ab89d14789b5207763410a79c39a11
[GDBserver] Fix SH/Linux build.

 sh-linux-gnu-gcc (...) src/gdb/gdbserver/linux-low.c
 .../src/gdb/gdbserver/linux-low.c: In function 'linux_read_loadmap':
 .../src/gdb/gdbserver/linux-low.c:5284:13: error: 'struct lwp_info' has no member named 'entry'
 make[1]: *** [linux-low.o] Error 1

gdb/gdbserver/
2014-04-09  Pedro Alves  <palves@redhat.com>

* linux-low.c (linux_read_loadmap): Pass current_inferior directly
to lwpid_of.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c