gdbserver: fix uClibc build whithout MMU.
authorRomain Naour <romain.naour@openwide.fr>
Tue, 14 Apr 2015 21:07:34 +0000 (23:07 +0200)
committerYao Qi <yao.qi@linaro.org>
Wed, 15 Apr 2015 15:59:47 +0000 (16:59 +0100)
commit6282837972a5c7b89968319caf821fcbd2a166bb
tree924c9bb19d53b112a99c14d3f44a62dfcb5e7ae5
parent40d2f8d62e5474d984fb41e0229763ab93213fdb
gdbserver: fix uClibc build whithout MMU.

Since commit d86d4aafd4fa22fa4cccb83253fb187b03f97f48, the pid
must be retrieved from current_thread.

The change has not been made in the function linux_read_offsets().

Fixes:
http://autobuild.buildroot.net/results/9e4/9e4df085319e346803c26c65478accb27eb950ae/build-end.log

2015-04-14  Romain Naour <romain.naour@openwide.fr>  (tiny change)

* linux-low.c (linux_read_offsets): Remove get_thread_lwp.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c