This is the mail archive of the gdb-prs@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]

[Bug python/21007] New: Expose breaking with regular expressions on the Python API


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.

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