update mLastSlash for gdbserver

the gdbserver special case wasn't updating mLastSlash. Fix it.

(cherry picked from commit 195b23ef712c51dc8d2f3a1f1943a27054dc4e74)

Change-Id: I52c6bbeb5483f8f6e20dd17de29ab703a6c8ebef
1 file changed