From: mdruiter AT cs DOT vu DOT nl Newsgroups: comp.os.msdos.djgpp Subject: Re: fsdb crashes post emacs Date: 5 Aug 1998 14:46:28 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Message-ID: <6q9r84$fj$2@star.cs.vu.nl> References: NNTP-Posting-Host: sloep09.cs.vu.nl User-Agent: tin/pre-1.4-980730 (UNIX) (SunOS/5.5.1 (sun4u)) Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eli Zaretskii wrote: > :|You need to set a data breakpoint, which will fire when a certain address > :|is overwritten. GDB has a `watch' command which does just that. > :|Unfortunately, I have never been able to get it to work (did anybody?). I have used it, succesfully most of the time. AFAIK, you need to: - set a breakpoint, which must be fired first, - set a watchpoint, which can be fired next. $ br *0x0code-address $ watch *0x0data-address -- Groeten, Michel. http://www.cs.vu.nl/~mdruiter ____________ \ /====\ / "You know, Beavis, you need things that suck, \/ \/ to have things that are cool", Butt-Head.