This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Add visible flag to breakpoints.
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Phil Muldoon <pmuldoon at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 30 Sep 2010 10:41:37 -0400
- Subject: Re: [patch] Add visible flag to breakpoints.
- References: <m38w2j72jd.fsf@redhat.com>
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