Hi Eric,
Thanks. That fixes the watchpoints, but introduces a couple of small problems:
1) in dbg.y, break_add_watch_from_lvalue should take only one argument (drop second argument)
2) in dbg.y, I have no minidump_write. Should this be replaced with dbg_printf("%s\n", $2); ?
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.
- Walter
On Wed, 20 Oct 2004, Eric Pouech wrote:
Walt Ogburn a �crit :
Hi,
Winedbg's watchpoints don't seem to work for me: when I try to watch a memory location, winedbg responds that a watchpoint has been set at a different, always constant location (I suspect this is actually in winedbg's memory space). Nothing happens when the location I was trying to watch changes.
does the attached patch help ? A+