This is the mail archive of the gdb-patches@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]

Re: [patch] Linux MAY_FOLLOW_EXEC #2


Hi Mark,

On Mon, 31 Jul 2006 22:38:43 +0200, Mark Kettenis wrote:
...
> That WNOHANG is wrong;

In fact yes, the patch is more correct without that WNOHANG hack there.


2006-07-29  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* inf-ptrace.c (inf_ptrace_mourn_inferior): waitpid(2) only if there
	is valid inferior_ptid to wait for.
	* linux-fork.c (linux_fork_mourn_inferior): Ditto.
	* infrun.c (follow_exec): Unconditionally enabled by MAY_FOLLOW_EXEC.
	Provide restoration of exec_bfd and symfile_objfile for any new "run".
	* linux-thread-db.c (thread_db_wait): Handle TARGET_WAITKIND_EXECD.
	* linux-thread-db.c (thread_db_mourn_inferior): Turn off threading.
	* foll-exec.exp: Uncoditionally enabled for all platforms.
	Relaxed regex to apply besides HP-UX also for GNU/Linux backtrace.


Thanks,
Jan

Attachment: gdb-6.5-follow-exec-v2.patch
Description: Text document


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