Discussion:
[Bug python/21007] New: Expose breaking with regular expressions on the Python API
LpSolit at netscape dot net
2016-12-30 17:11:46 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=21007

Bug ID: 21007
Summary: Expose breaking with regular expressions on the Python
API
Product: gdb
Version: 7.11
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: ciro.santilli at gmail dot com
Target Milestone: ---

Currently you need to shell out:

gdb.execute('rbreak {}'.format(regexp))

but it would be cool if there was a boolean `regular_expression` constructor
argument to `gdb.Breakpoint`.

Looked at docs at:
https://sourceware.org/gdb/current/onlinedocs/gdb/Breakpoints-In-Python.html#Breakpoints-In-Python
--
You are receiving this mail because:
You are on the CC list for the bug.
pmuldoon at redhat dot com
2017-08-08 09:54:43 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=21007

Phil Muldoon <pmuldoon at redhat dot com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-08-08
CC| |pmuldoon at redhat dot com
Ever confirmed|0 |1

--- Comment #1 from Phil Muldoon <pmuldoon at redhat dot com> ---
I'll add it to the todo on my list. Thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.
tromey at sourceware dot org
2018-09-15 07:55:18 UTC
Permalink
https://sourceware.org/bugzilla/show_bug.cgi?id=21007

Tom Tromey <tromey at sourceware dot org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
There is gdb.rbreak now. I suppose that is sufficient.

I think it'd be nice to have a "real" regexp breakpoint,
that is, instead of creating one breakpoint per match,
create a single breakpoint that re-matches and changes
its locations when the inferior changes.
--
You are receiving this mail because:
You are on the CC list for the bug.
Loading...