public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Add support for catching exec events on FreeBSD.
@ 2015-04-27 23:51 sergiodj+buildbot
  2015-04-27 23:52 ` Failures on Fedora-ppc64be-cc-with-index, branch master sergiodj+buildbot
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: sergiodj+buildbot @ 2015-04-27 23:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d2b41ca0f9c5641a6b8f42c8013ba042cf5ba120 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: d2b41ca0f9c5641a6b8f42c8013ba042cf5ba120

Add support for catching exec events on FreeBSD.
FreeBSD kernels that support fork tracing always stop a process to
report events for exec.  Such a process will have the PL_FLAG_EXEC
flag set in the pl_flags field of the ptrace_lwpinfo struct returned
by PT_LWPINFO.  The structure does not include the pathname passed to
exec, so use fbsd_pid_to_exec_file to query the pathname of the
process' executable.

gdb/ChangeLog:

	* fbsd-nat.c: (fbsd_wait) [PL_FLAG_EXEC]: Report TARGET_WAITKIND_EXECD
	event if PL_FLAG_EXEC is set.
	[PL_FLAG_EXEC] (fbsd_insert_exec_catchpoint): New function.
	[PL_FLAG_EXEC] (fbsd_remove_exec_catchpoint): New function.
	(fbsd_nat_add_target) [PL_FLAG_EXEC]: Set
	"to_insert_exec_catchpoint" to "fbsd_insert_exec_catchpoint".
	Set "to_remove_exec_catchpoint" to "fbsd_remove_exec_catchpoint".


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-04-28 15:34 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-27 23:51 [binutils-gdb] Add support for catching exec events on FreeBSD sergiodj+buildbot
2015-04-27 23:52 ` Failures on Fedora-ppc64be-cc-with-index, branch master sergiodj+buildbot
2015-04-27 23:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2015-04-27 23:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-04-28  0:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-04-28  0:26 ` Failures on Fedora-ppc64le-cc-with-index, " sergiodj+buildbot
2015-04-28  0:33 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
2015-04-28  0:40 ` Failures on Fedora-ppc64le-m64, " sergiodj+buildbot
2015-04-28  0:43 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot
2015-04-28  1:17 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
2015-04-28  4:11 ` Failures on Debian-i686, " sergiodj+buildbot
2015-04-28  5:05 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2015-04-28  7:34 ` Failures on Fedora-i686, " sergiodj+buildbot
2015-04-28  8:12 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2015-04-28  8:54 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot
2015-04-28 13:50 ` Failures on Debian-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-04-28 15:34 ` Failures on Debian-x86_64-m64, " sergiodj+buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).