FreeBSD hardware watchpoint implementation

Press ? to show keyboard shortcuts.
Committed
emasteFeb 19 2014, 10:34 AM
Parents
rL201705: Update decorator for test that still fails with FreeBSD Watchpoint support
Branches
Unknown
Tags
Unknown
Description

FreeBSD hardware watchpoint implementation

Implement x86_64 debug register read/write in support of hardware
watchpoints. Hoist LinuxThread::TraceNotify code back into
POSIXThread::TraceNotify()

Patch by John Wolfe.

We still need to rework this later to avoid the #ifdef FreeBSD.

llvm-reviews.chandlerc.com/D2572
llvm.org/pr16706

Changes (23)

HistoryBrowseChangePath
HistoryBrowseModifiedlldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
HistoryBrowseModifiedlldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.h
HistoryBrowseModifiedlldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp
HistoryBrowseModifiedlldb/trunk/source/Plugins/Process/Linux/LinuxThread.h
HistoryBrowseModifiedlldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp
HistoryBrowseModifiedlldb/trunk/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp
HistoryBrowseModifiedlldb/trunk/source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.cpp
HistoryBrowseModifiedlldb/trunk/source/Plugins/Process/POSIX/RegisterContextPOSIX.h
HistoryBrowseModifiedlldb/trunk/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp
HistoryBrowseModifiedlldb/trunk/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py
HistoryBrowseModifiedlldb/trunk/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
HistoryBrowseModifiedlldb/trunk/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
HistoryBrowseModifiedlldb/trunk/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py
HistoryBrowseModifiedlldb/trunk/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
HistoryBrowseModifiedlldb/trunk/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py
HistoryBrowseModifiedlldb/trunk/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py
HistoryBrowseModifiedlldb/trunk/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py
HistoryBrowseModifiedlldb/trunk/test/python_api/watchpoint/TestSetWatchpoint.py
HistoryBrowseModifiedlldb/trunk/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
HistoryBrowseModifiedlldb/trunk/test/python_api/watchpoint/TestWatchpointIter.py
HistoryBrowseModifiedlldb/trunk/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
HistoryBrowseModifiedlldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
HistoryBrowseModifiedlldb/trunk/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py

rL201706

lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp

Loading...

lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.h

Loading...

lldb/trunk/source/Plugins/Process/Linux/LinuxThread.cpp

Loading...

lldb/trunk/source/Plugins/Process/Linux/LinuxThread.h

Loading...

lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp

Loading...

lldb/trunk/source/Plugins/Process/POSIX/RegisterContextFreeBSD_i386.cpp

Loading...

lldb/trunk/source/Plugins/Process/POSIX/RegisterContextFreeBSD_x86_64.cpp

Loading...

lldb/trunk/source/Plugins/Process/POSIX/RegisterContextPOSIX.h

Loading...

lldb/trunk/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp

Loading...

lldb/trunk/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py

Loading...

lldb/trunk/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py

Loading...

lldb/trunk/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py

Loading...

lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py

Loading...

lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py

Loading...

lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py

Loading...

lldb/trunk/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py

Loading...

lldb/trunk/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py

Loading...

lldb/trunk/test/python_api/watchpoint/TestSetWatchpoint.py

Loading...

lldb/trunk/test/python_api/watchpoint/TestWatchpointIgnoreCount.py

Loading...

lldb/trunk/test/python_api/watchpoint/TestWatchpointIter.py

Loading...

lldb/trunk/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py

Loading...

lldb/trunk/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py

Loading...

lldb/trunk/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py

Loading...

Add Comment