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]

[PATCH 0/3] Add "real" vfork done handling on FreeBSD


FreeBSD 12 recently gained a real vfork done event via ptrace(2).
This changes the FreeBSD native targets to use this when it exists
instead of faking a done event after a sleep.

John Baldwin (3):
  Consolidate code to enable optional FreeBSD native target event
    reporting.
  Enable ptrace events on new child processes.
  Use a real vfork done event on FreeBSD when available.

 gdb/ChangeLog  | 31 ++++++++++++++++++++
 gdb/fbsd-nat.c | 92 ++++++++++++++++++++++++++++++++++++----------------------
 2 files changed, 89 insertions(+), 34 deletions(-)

-- 
2.8.4


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