Skip to content

Commit

Permalink
Add one more verbose watchpoint logging for arm-ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmolenda committed Jan 31, 2024
1 parent 51e0d1b commit c84f2ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lldb/source/Breakpoint/WatchpointAlgorithms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ WatchpointAlgorithms::PowerOf2Watchpoints(addr_t user_addr, size_t user_size,
size_t max_byte_size,
uint32_t address_byte_size) {

Log *log = GetLog(LLDBLog::Watchpoints);
LLDB_LOGV(log,
"AtomizeWatchpointRequest user request addr {0:x} size {1} "
"min_byte_size {2}, max_byte_size {3}, address_byte_size {4}",
user_addr, user_size, min_byte_size, max_byte_size,
address_byte_size);

// Can't watch zero bytes.
if (user_size == 0)
return {};
Expand Down

0 comments on commit c84f2ba

Please sign in to comment.