Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!surfnet.nl!tuegate.tue.nl!news.IAEhv.nl!news From: cees@iaehv.nl (Hans Zuidam) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Alarms & gdb Date: 19 Jun 1996 11:04:54 GMT Organization: Brand Innovators Lines: 14 Message-ID: <4q8msm$j0o@news.IAEhv.nl> NNTP-Posting-Host: pm4d09.iaehv.nl Mime-Version: 1.0 X-Newsreader: WinVN 0.99.2 Hi, I have a problem debugging a program which uses the interval timer to periodically do some work. Each time I try to continue after a breakpoint, the alarm has gone off and I get dumped back into gdb. The net effect is that after the first breakpoint no debugging is possible. A solution might be for the program to detect that it is beeing stopped (possibly by gdb) and turn off the interval timer before giving control back to gdb. Is that possible or are there better ways around this? Thanks in advance, Hans