diff options
author | David Hildenbrand <david@redhat.com> | 2019-08-23 12:07:40 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-09-03 08:30:39 -0700 |
commit | 0026348b48fe532279e8c12b100c16c1aa991373 (patch) | |
tree | cbb0e35f93d6dff9770be449729c95441cc423c6 /monitor | |
parent | 74841f044e96644d8ed8a388fe505df5ab843d0a (diff) | |
download | qemu-0026348b48fe532279e8c12b100c16c1aa991373.zip qemu-0026348b48fe532279e8c12b100c16c1aa991373.tar.gz qemu-0026348b48fe532279e8c12b100c16c1aa991373.tar.bz2 |
exec: Factor out core logic of check_watchpoint()
We want to perform the same checks in probe_write() to trigger a cpu
exit before doing any modifications. We'll have to pass a PC.
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190823100741.9621-9-david@redhat.com>
[rth: Use vaddr for len, like other watchpoint functions;
Move user-only stub to static inline.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'monitor')
0 files changed, 0 insertions, 0 deletions