Possible Duplicate:
Can I set a breakpoint on 'memory access' in GDB?
I have a specific location in memory that is getting corrupted, and I'd like to be able to see exactly when things write to that location. Is there any way that I can make gdb break on memory access to that particular address?