This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb ChangeLog gnu-nat.c i386gnu-nat.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	palves@sourceware.org	2013-09-18 14:47:51

Modified files:
	gdb            : ChangeLog gnu-nat.c i386gnu-nat.c 

Log message:
	Subject: [PATCH] [Hurd/gnu-nat.c] Use ptid_t.lwpid to store thread ids
	instead of ptid_t.tid.
	
	In preparation for reusing gnu-nat.c in gdbserver, switch to storing
	thread ids in the lwpid field of ptid_t rather than in the tid
	field.  The Hurd's thread model is 1:1, so it doesn't feel wrong
	anyway.
	
	gdb/
	2013-09-18  Pedro Alves  <palves@redhat.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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.16010&r2=1.16011
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gnu-nat.c.diff?cvsroot=src&r1=1.87&r2=1.88
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i386gnu-nat.c.diff?cvsroot=src&r1=1.45&r2=1.46


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]