opnsense-src/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD
Ed Maste b08e22797d lldb: map TRAP_CAP to a trace trap
In the absense of a more specific handler for TRAP_CAP (generated by
ENOTCAPABLE or ECAPMODE while in capability mode) treat it as a trace
trap.

Example usage (testing the bug in PR219173):

% proccontrol -m trapcap lldb usr.bin/hexdump/obj/hexdump -- -Cv -s 1 /bin/ls
...
(lldb) run
Process 12980 launching
Process 12980 launched: '.../usr.bin/hexdump/obj/hexdump' (x86_64)
Process 12980 stopped
* thread #1, stop reason = trace
    frame #0: 0x0000004b80c65f1a libc.so.7`__sys_lseek + 10
...

In the future we should have LLDB control the trapcap procctl itself
(as it does with ASLR), as well as report a specific stop reason.
This change eliminates an assertion failure from LLDB for now.
2017-05-25 16:41:07 +00:00
..
FreeBSDThread.cpp Fix printf format warning on i386. 2017-01-03 18:10:23 +00:00
FreeBSDThread.h Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
POSIXStopInfo.cpp Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
POSIXStopInfo.h Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
ProcessFreeBSD.cpp Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
ProcessFreeBSD.h Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
ProcessMonitor.cpp lldb: map TRAP_CAP to a trace trap 2017-05-25 16:41:07 +00:00
ProcessMonitor.h Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
RegisterContextPOSIX.h Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
RegisterContextPOSIXProcessMonitor_arm.cpp Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
RegisterContextPOSIXProcessMonitor_arm.h Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
RegisterContextPOSIXProcessMonitor_arm64.cpp Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
RegisterContextPOSIXProcessMonitor_arm64.h Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
RegisterContextPOSIXProcessMonitor_mips64.cpp Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
RegisterContextPOSIXProcessMonitor_mips64.h Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
RegisterContextPOSIXProcessMonitor_powerpc.cpp Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
RegisterContextPOSIXProcessMonitor_powerpc.h Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
RegisterContextPOSIXProcessMonitor_x86.cpp Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00
RegisterContextPOSIXProcessMonitor_x86.h Update lldb to trunk r290819 and resolve conflicts. 2017-01-02 21:59:52 +00:00