🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #57

Break on condition

#57
From: Dirk Grunwald
Date: Mon, 03 Jul 1989 15:03
14 lines
1145 bytes
Am I high, or did GDB at one point have the invaluable ``break when a
variable changes'' command wherein a variable would be evaluated at
each line (or, preferrably, a line number within a specific range) to
determine if a break should be done?

I know of the existing break on condition; that solves part of the
problem.  A more basic feature, allowing the ``break when a variable
changes'' to be implemented via a defined function would be a way to
specify multiple locations for a single break w/condition. Perhaps a
range of line-numbers or something.

--
Dirk Grunwald -- Univ. of Illinois 		  (grunwald@flute.cs.uiuc.edu)
Technical Details
Message-ID: <GRUNWALD.89Jul3100359@flute.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!csd4.milw.wisc.edu!uxc.cso.uiuc.edu!garcon!garcon.cso.uiuc.edu!grunwald

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!csd4.milw.wisc.edu!uxc.cso.uiuc.edu!garcon!garcon.cso.uiuc.edu!grunwald
From: grunwald@flute.cs.uiuc.edu (Dirk Grunwald)
Newsgroups: gnu.gdb.bug
Subject: Break on condition
Message-ID: <GRUNWALD.89Jul3100359@flute.cs.uiuc.edu>
Date: 3 Jul 89 15:03:59 GMT
Sender: news@garcon.cso.uiuc.edu
Reply-To: grunwald@flute.cs.uiuc.edu
Distribution: gnu
Organization: University of Illinois, Urbana-Champaign
Lines: 14