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/18305] New: python error in disable pretty-printer command


https://sourceware.org/bugzilla/show_bug.cgi?id=18305

            Bug ID: 18305
           Summary: python error in disable pretty-printer command
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

(gdb) disable pretty stl-vector libstdc++-v6;.*vector
Traceback (most recent call last):
  File "/usr/share/gdb/python/gdb/command/pretty_printers.py", line 359, in
invoke
    do_enable_pretty_printer(arg, False)
  File "/usr/share/gdb/python/gdb/command/pretty_printers.py", line 281, in
do_enable_pretty_printer
    (object_re, name_re, subname_re) = parse_printer_regexps(arg)
  File "/usr/share/gdb/python/gdb/command/pretty_printers.py", line 63, in
parse_printer_regexps
    name_re = re.compile (name_regexp)
  File "/usr/lib/python2.7/re.py", line 190, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python2.7/re.py", line 242, in _compile
    raise error, v # invalid expression
sre_constants.error: multiple repeat
Error occurred in Python command: multiple repeat

-- 
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]