Article View: gnu.gdb.bug
Article #329multiple break-points at the same location
From: ha
Date: Wed, 22 Nov 1989 19:17
Date: Wed, 22 Nov 1989 19:17
17 lines
1210 bytes
1210 bytes
I am using gdb 3.4 on Sun 3/50 running Sun OS 4.0. What is the semantics of setting multiple break-points at the same location in a program? For example, if we set two break-points, B1 and B2, at a line, L, and have two different command lists associated with B1 and B2, should both be executed when line L is reached. Presently it seems only the first break- point whose associated condition (if any) evaluates to true is honoured and all the remaining break-points at the same location are ignored. Is this the desirable behavior? Wouldn't it be more intutive if all break-points whose conditions are met are honoured? I can think of many situations where this would be useful. Or, there should at least be an option to select the desired behavior -- whether or not to ignore the remaining break-points. -- Hira.
Technical Details
Message-ID:
<8911221917.AA29812@serc8.cs.purdue.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!CS.PURDUE.EDU!haShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!CS.PURDUE.EDU!ha From: ha@CS.PURDUE.EDU Newsgroups: gnu.gdb.bug Subject: multiple break-points at the same location Message-ID: <8911221917.AA29812@serc8.cs.purdue.edu> Date: 22 Nov 89 19:17:10 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 17