Can GDB support "temporal breakpoints"?

joaoandreferro@sapo.pt joaoandreferro@sapo.pt
Wed Oct 29 18:55:00 GMT 2014


Hello everyone, again,

 From what I've learned after reading GDB's excellent documentation, I  
know I can set a memory trigger (i. e., a breakpoint that is set every  
time a certain memory address changes) by setting a watchpoint at the  
desired memory address (a practical example is available here:  
http://stackoverflow.com/questions/58851/can-i-set-a-breakpoint-on-memory-access-in-gdb). The question I have now is if I can set a temporal breakpoint (i. e., a breakpoint that is only triggered after a user-defined amount of time has passed), in few words a breakpoint that is only fired after some kind of timer has expired. I haven't found anything related to this on the GDB docs, so I guess it's not possible, but they are huge and maybe I've missed something, somewhere. If anyone can confirm or deny this deduction, it would be great, because this feature is crucial to my  
work.

Thanks for reading and regards,
João







More information about the Gdb mailing list