bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SET BREAK/CALL equiv. on gdb


From: Eli Zaretskii
Subject: Re: SET BREAK/CALL equiv. on gdb
Date: Thu, 16 Sep 2004 13:15:01 +0300

> From: Paul Gilliam <address@hidden>
> 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.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]