aboutsummaryrefslogtreecommitdiff
path: root/gdb/namespace.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2016-07-15 14:03:10 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2016-07-20 11:01:08 -0700
commitda95a26cc381c0f092f515ffe108075985c16d7f (patch)
treead4223b76e774b60d1a676582a59a4fdb9810832 /gdb/namespace.c
parent37fd5ef3ecc58caacd6abb4ace3d8b559e3db53d (diff)
downloadgdb-da95a26cc381c0f092f515ffe108075985c16d7f.zip
gdb-da95a26cc381c0f092f515ffe108075985c16d7f.tar.gz
gdb-da95a26cc381c0f092f515ffe108075985c16d7f.tar.bz2
Consolidate code to enable optional FreeBSD native target event reporting.
Add a new function to enable optional event reporting for FreeBSD native targets. Specifically, use this to enable fork and LWP events. The bodies of fbsd_enable_follow_fork and fbsd_enable_lwp_events have been subsumed into the new function. In addition, use the PT_GET_EVENT_MASK and PT_EVENT_SET_MASK requests added in FreeBSD 12 when present to enable these events. gdb/ChangeLog: * fbsd-nat.c (fbsd_enable_lwp_events): Remove function. (fbsd_enable_proc_events): New function. (fbsd_enable_follow_fork): Remove function. (fbsd_post_startup_inferior): Use "fbsd_enable_proc_events". (fbsd_post_attach): Likewise.
Diffstat (limited to 'gdb/namespace.c')
0 files changed, 0 insertions, 0 deletions