On 02/04/2011 07:42 AM, Basile Starynkevitch wrote: > An obvious strategy is to use the hardware watchpoint feature of GDB. > However, one cannot nicely put a watchpoint on an address which is not > mmap-ed yet.
I typically find the location at which the object containing the address is allocated. E.g. in alloc_block on the return statement. Make this bp conditional on the object you're looking for. r~