diff options
author | John Baldwin <jhb@FreeBSD.org> | 2016-06-24 18:24:21 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-07-01 08:32:38 -0700 |
commit | bb2a62e694953c099c41d49f59947d3d91cc7c27 (patch) | |
tree | b2867bf20233c3c7c09d2db1222ced688f8ef18a /gdb/ChangeLog | |
parent | 5e866f5aeeaf7514f5ca4f9eaba41594eac22e5b (diff) | |
download | gdb-bb2a62e694953c099c41d49f59947d3d91cc7c27.zip gdb-bb2a62e694953c099c41d49f59947d3d91cc7c27.tar.gz gdb-bb2a62e694953c099c41d49f59947d3d91cc7c27.tar.bz2 |
Honor detach-on-fork on FreeBSD.
Only detach from the new child process in the follow fork callback
if detach_fork is true.
gdb/ChangeLog:
* fbsd-nat.c (fbsd_follow_fork): Only detach child if
"detach_fork" is true.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e4f7e3a..b6bf7fa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2016-07-01 John Baldwin <jhb@FreeBSD.org> + * fbsd-nat.c (fbsd_follow_fork): Only detach child if + "detach_fork" is true. + +2016-07-01 John Baldwin <jhb@FreeBSD.org> + * x86bsd-nat.c: Include 'gdbthread.h'. (x86bsd_dr_set): Set debug registers on all threads belonging to the current inferior. |