Page MenuHomeFreeBSD

Add fork tracing.
AbandonedPublic

Authored by jhb on Jun 27 2015, 2:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 22, 12:30 AM
Unknown Object (File)
Tue, Apr 22, 12:16 AM
Unknown Object (File)
Tue, Apr 22, 12:10 AM
Unknown Object (File)
Tue, Apr 22, 12:10 AM
Unknown Object (File)
Tue, Apr 22, 12:08 AM
Unknown Object (File)
Tue, Apr 22, 12:04 AM
Unknown Object (File)
Tue, Apr 22, 12:03 AM
Unknown Object (File)
Mon, Apr 21, 11:33 PM

Details

Reviewers
None
Summary
  • Apply upstream patch to add fork tracing support using PT_FOLLOW_FORK. This allows child and/or parent processes to be followed after a fork and also includes support for catching fork/vfork events via 'catch'.
  • Apply upstream patch to add exec tracing support which allows exec events to be caught.
  • Enable support for 64-bit targets on 32-bit systems (e.g. allow the i386 gdb to debug an amd64 binary).
Test Plan
  • Tested poudriere builds of 10.0 i386 and amd64 and recent HEAD amd64.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 90
Build 90: arc lint + arc unit

Event Timeline

jhb retitled this revision from to Add fork tracing..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)

Backport fix from GDB mainline to remove Linuxism in MI fork following code.

Included in update to 7.10.