This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Add visible flag to breakpoints.


On Thu, Sep 30, 2010 at 03:02:14PM +0100, Phil Muldoon wrote:
> This is part of a larger effort to improve the Python breakpoint support
> within GDB.  One of the use-cases we have in Python is for a command to
> set (maybe a large) number of breakpoints to catch predefined
> behavior.  However we do not want this to impact the usability or
> readability of the existing 'info breakpoints' output.  This patch fixes
> that by allowing breakpoints to become invisible to the user.

How does this interact with GDB-internal breakpoints (those with
negative numbers)?  If you didn't need to switch visibility at
runtime, you could just create these as internal.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]