2013-09-18  Pedro Alves  <palves@redhat.com>
	    Yue Lu  <hacklu.newborn@gmail.com>
	* gnu-nat.c (inf_validate_procs, gnu_wait, gnu_resume)
	(gnu_create_inferior)
	(gnu_attach, gnu_thread_alive, gnu_pid_to_str, cur_thread)
	(set_sig_thread_cmd): Use the lwpid field of ptids to
	store/extract thread ids instead of the tid field.
	* i386gnu-nat.c (gnu_fetch_registers): Adjust.
 2013-09-18  Pedro Alves  <palves@redhat.com>
+           Yue Lu  <hacklu.newborn@gmail.com>
 
        * gnu-nat.c (inf_validate_procs, gnu_wait, gnu_resume)
        (gnu_create_inferior)