This reverts commit a7b78cac9a.
With updates to the tests.
TestWatchTaggedAddress.py: Updated the expected watchpoint types,
though I'm not sure there should be a differnt default for the two
ways of setting them, that needs to be confirmed.
TestStepOverWatchpoint.py: Skipped this everywhere because I think
what used to happen is you couldn't put 2 watchpoints on the same
address (after alignment). I guess that this is now allowed because
modify watchpoints aren't accounted for, but likely should be.
Needs investigating.
16 lines
272 B
C
16 lines
272 B
C
#include <stdint.h>
|
|
#include <stdio.h>
|
|
int main() {
|
|
union {
|
|
uint8_t buf[8];
|
|
uint64_t val;
|
|
} a;
|
|
a.val = 0;
|
|
puts ("ready to loop"); // break here
|
|
a.val = UINT64_MAX;
|
|
for (int i = 0; i < 5; i++) {
|
|
a.val = i;
|
|
printf("a.val is %lu\n", a.val);
|
|
}
|
|
}
|