-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add diagnostics for non-implemented data watchpoints #897
add diagnostics for non-implemented data watchpoints #897
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall.
src/target/riscv/riscv.c
Outdated
// replaced by WATCHPOINT_IGNORE_DATA_VALUE_MASK once it is available | ||
// See: https://review.openocd.org/c/openocd/+/7840 | ||
if (watchpoint->mask != ~(typeof(watchpoint->mask))0) { | ||
LOG_ERROR("watchpoints on data values are not implemented"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOG_ERROR("watchpoints on data values are not implemented"); | |
LOG_TARGET_ERROR(target, "watchpoints on data values are not implemented"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed
2f5e289
to
f36ae13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But that is a minor thing, giving approve.
src/target/riscv/riscv.c
Outdated
// replaced by WATCHPOINT_IGNORE_DATA_VALUE_MASK once it is available | ||
// See: https://review.openocd.org/c/openocd/+/7840 | ||
if (watchpoint->mask != ~(typeof(watchpoint->mask))0) { | ||
LOG_TARGET_ERROR(target, "watchpoints on data values are not implemented"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One tiny thing, I would capitalize the first letter in the "watchpoints" error log
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed
Change-Id: If5031c6d8cea1bfcc34bb65fd766f232498ed7ea Signed-off-by: Parshintsev Anatoly <[email protected]>
f36ae13
to
bb78526
Compare
Change-Id: If5031c6d8cea1bfcc34bb65fd766f232498ed7ea