Walt Ogburn a �crit :
Hi Eric,
Thanks. That fixes the watchpoints, but introduces a couple of small problems:
- in dbg.y, break_add_watch_from_lvalue should take only one argument
(drop second argument)
that shouldn't be that way (your fix is correct)
- in dbg.y, I have no minidump_write. Should this be replaced with dbg_printf("%s\n", $2); ?
no, that some unapplied work (completly unrelated to the patch)
After fixing these two things, breakpoints work, although the instruction pointer displayed is the one just after the watched address gets written to. Perhaps this is the expected behavior, but it would be nice to have the instruction that makes the write instead.
no, we should point to the correct insn, I'll look into it. A+