The patch supports 'TAAwatch:addr' packet.
The patch also sets m_watchpoints_trigger_after_instruction to eLazyBoolNo when qHostInfo or qWatchpointSupportInfo is not supported by the target.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
See inlined comments.
| source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | ||
|---|---|---|
| 2475–2476 | Change to the last argument: "llvm::Triple::ArchType atype" to "const ArchSpec &arch" in case we need to check the vendor or OS for some reason... | |
| 2485 | Change to the last argument: "llvm::Triple::ArchType atype" to "const ArchSpec &arch" in case we need to check the vendor or OS for some reason... | |
| source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | ||
| 27 | Please use StreamString from: #include "lldb/Core/StreamString.h" instead of sstream | |
| 2497–2499 | Not sure if you need to do this, try not setting this and see how the description comes out. The watchpoint stop info should set this correctly? | |
| 3102–3103 | I would just pass a "const ArchSpec & arch" instead of just the machine. | |
| source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | ||
|---|---|---|
| 2497–2499 | We need "watchpoint" in the description so that SetThreadStopInfo can create CreateStopReasonWithWatchpointID. | |
Change to the last argument: "llvm::Triple::ArchType atype" to "const ArchSpec &arch" in case we need to check the vendor or OS for some reason...