Add x86_debug_reg_state to gdbserver
Introduce current_inferior_pid
Add iterate_over_lwps to gdbserver
Make linux_stop_lwp be a shared function
Introduce basic LWP accessors