From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9489 invoked by alias); 29 Oct 2014 18:55:49 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 9479 invoked by uid 89); 29 Oct 2014 18:55:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: sapo.pt Received: from relay4.ptmail.sapo.pt (HELO sapo.pt) (212.55.154.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 29 Oct 2014 18:55:46 +0000 Received: (qmail 11261 invoked from network); 29 Oct 2014 18:55:41 -0000 Received: from unknown (HELO php02) (10.134.37.51) by relay4 with SMTP; 29 Oct 2014 18:55:41 -0000 Received: (qmail 29660 invoked by uid 64140); 29 Oct 2014 18:55:41 -0000 Received: from gtDEI-NATgw2.dei.uc.pt (gtDEI-NATgw2.dei.uc.pt [193.137.203.231]) by mail.sapo.pt (Horde Framework) with HTTP; Wed, 29 Oct 2014 18:55:41 +0000 Date: Wed, 29 Oct 2014 18:55:00 -0000 Message-ID: <20141029185541.Horde._3keczfPGLf4wL2j8_4tFw6@mail.sapo.pt> From: joaoandreferro@sapo.pt To: gdb@sourceware.org Subject: Can GDB support "temporal breakpoints"? User-Agent: Dynamic Internet Messaging Program (DIMP) PTMail 5.2.46 X-PTMail-Version: PTMail 5.2.46 X-PTMail-User: eyJpdiI6IjJqcjBFUXFWQUtuVW9Rcktvdm1Oamc9PSIsImQiOiJFZjAyTHFRcW05RFhqTjl1WmJ5TzVTOUJKSlAxeHBETEhqV3I3MlRUWWE4PSJ9 Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00122.txt.bz2 Hello everyone, again, From what I've learned after reading GDB's excellent documentation, I=20=20 know I can set a memory trigger (i. e., a breakpoint that is set every=20=20 time a certain memory address changes) by setting a watchpoint at the=20=20 desired memory address (a practical example is available here:=20=20 http://stackoverflow.com/questions/58851/can-i-set-a-breakpoint-on-memory-a= ccess-in-gdb). The question I have now is if I can set a temporal breakpoin= t (i. e., a breakpoint that is only triggered after a user-defined amount o= f 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 m= issed something, somewhere. If anyone can confirm or deny this deduction, i= t would be great, because this feature is crucial to my=20=20 work. Thanks for reading and regards, Jo=C3=A3o