🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1323

Re: SET BREAK/CALL equiv. on gdb

#1323
From: Eli Zaretskii
Date: Thu, 16 Sep 2004 10:15
30 lines
2484 bytes
> From: Paul Gilliam <gilliam@us.ibm.com>
> Date: Wed, 15 Sep 2004 09:44:24 -0700
> 
> All most.  It would be nice if it where possible to manage all those 
> break-points together.

The way we do that in GDB is by specifying a range of breakpoint
numbers.

> Maybe what we want is to be able to name (automatically?) a range of 
> breakpoints.  Something like:
> 
> gdb> rbreak .
> bp group "functionsBP" is 2-234
> gdb> disable functionsBP
> breakpoints 2-234 disabled
> gdb> 

How about this:

 (gdb) set breakpoint-verbose off
 (gdb) rbreak .
 Breakpoints 5-6666 set.
 (gdb) commands 5-6666
 > ...
 > end
 (gdb) disable 5-6666

(Currently, there's no way to get a short output from rbreak, and
`commands' doesn't accept ranges of breakpoints.)
Technical Details
Message-ID: <mailman.2971.1095330234.1998.bug-gdb@gnu.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <OF47A82493.236BBAC6-ON87256F10.005AAC5F-88256F10.005BF5C2@us.ibm.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5053,c64115f384ece791
X-Google-Attributes: gidf5053,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
From: "Eli Zaretskii" <eliz@gnu.org>
Newsgroups: gnu.gdb.bug
Subject: Re: SET BREAK/CALL equiv. on gdb
Date: Thu, 16 Sep 2004 13:15:01 +0300
Lines: 32
Sender: halo1@zahav.net.il
Approved: bug-gdb@gnu.org
Message-ID: <mailman.2971.1095330234.1998.bug-gdb@gnu.org>
References: <OF47A82493.236BBAC6-ON87256F10.005AAC5F-88256F10.005BF5C2@us.ibm.com>
Reply-To: Eli Zaretskii <eliz@gnu.org>
NNTP-Posting-Host: lists.gnu.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7BIT
X-Trace: news.Stanford.EDU 1095329883 6580 199.232.76.165 (16 Sep 2004 10:18:03 GMT)
X-Complaints-To: news@news.stanford.edu
Cc: bug-gdb-bounces+gilliam=us.ibm.com@gnu.org, gnu-gdb-bug@moderators.isc.org,
 "UHAP023@alpha1.rhbnc.ac.uk"
 <OF47A82493.236BBAC6-ON87256F10.005AAC5F-88256F10.005BF5C2@us.ibm.com>
To: Paul Gilliam <gilliam@us.ibm.com>
Envelope-to: bug-gdb@gnu.org
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2
X-BeenThere: bug-gdb@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GDB, the GNU debugger" <bug-gdb.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gdb>
List-Post: <mailto:bug-gdb@gnu.org>
List-Help: <mailto:bug-gdb-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=subscribe>