This patch contains:
- Set H/W watchpoints
- List H/W watchpoints
- Check if watchpoint is hit Will roll out remaining functions if this looks good.
Paths
| Differential D9142
[LLDB][MIPS] List and set hardware watchpoints for MIPS ClosedPublic Authored by mohit.bhakkad on Apr 21 2015, 2:06 AM.
Details Summary This patch contains:
Diff Detail Event Timelinemohit.bhakkad retitled this revision from to [LLDB][MIPS] List and set hardware watchpoints for MIPS. mohit.bhakkad updated this object. clayborg edited edge metadata. Comment ActionsMove code from NativeRegisterContextLinux_mips64.h to NativeRegisterContextLinux_mips64.cpp and this will be good to go.
This revision now requires changes to proceed.Apr 21 2015, 9:33 AM mohit.bhakkad edited edge metadata. Comment ActionsChanges in this revision:
This revision is now accepted and ready to land.May 6 2015, 9:29 AM mohit.bhakkad edited edge metadata. Comment ActionsChanges in this revision:
mohit.bhakkad edited edge metadata. clayborg edited edge metadata. Comment ActionsLooks good except we should simplify the logic for finding a watchpoint by address using the code suggested for WatchpointList::FindByAddress() in the inlined code.
This revision now requires changes to proceed.May 26 2015, 3:39 PM mohit.bhakkad edited edge metadata. Comment ActionsSimplified WatchpointList::FindByAddress() as suggested. This revision is now accepted and ready to land.May 27 2015, 9:54 AM mohit.bhakkad edited edge metadata. Comment ActionsChanges in this patch:
mohit.bhakkad edited edge metadata. Comment ActionsMy apologies for requesting review after acceptance, but ToT is changed significantly, can't commit directly. mohit.bhakkad edited edge metadata. Comment ActionsAdding some corrections to previous patch. This revision is now accepted and ready to land.Jun 17 2015, 10:14 AM Closed by commit rL239991: [LLDB][MIPS] Hardware Watchpoints for MIPS (authored by mohit.bhakkad). · Explain WhyJun 17 2015, 9:57 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 25019 source/Plugins/Process/Linux/NativeProcessLinux.h
source/Plugins/Process/Linux/NativeProcessLinux.cpp
source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h
source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp
source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
|
Do we need this content in the header file? Seems like it could move to NativeRegisterContextLinux_mips64.cpp to make sure we aren't #define'ing simple names in header files (W_BIT, R_BIT, I_BIT, etc).