public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/18305] New: python error in disable pretty-printer command
@ 2015-04-22 23:53 dje at google dot com
  2015-04-22 23:59 ` [Bug python/18305] " dje at google dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dje at google dot com @ 2015-04-22 23:53 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug python/18305] python error in disable pretty-printer command
  2015-04-22 23:53 [Bug python/18305] New: python error in disable pretty-printer command dje at google dot com
@ 2015-04-22 23:59 ` dje at google dot com
  2015-04-23  0:03 ` dje at google dot com
  2022-06-05 15:17 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: dje at google dot com @ 2015-04-22 23:59 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from dje at google dot com ---
Forgetting to escape the ++ in libstdc++ is probably not uncommon.
We should catch this exception and provide a better error message.

This only occurs with "set python print-stack full",
but OTOH this is a user error, not a coding error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug python/18305] python error in disable pretty-printer command
  2015-04-22 23:53 [Bug python/18305] New: python error in disable pretty-printer command dje at google dot com
  2015-04-22 23:59 ` [Bug python/18305] " dje at google dot com
@ 2015-04-23  0:03 ` dje at google dot com
  2022-06-05 15:17 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: dje at google dot com @ 2015-04-23  0:03 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from dje at google dot com ---
See also bug 14169.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug python/18305] python error in disable pretty-printer command
  2015-04-22 23:53 [Bug python/18305] New: python error in disable pretty-printer command dje at google dot com
  2015-04-22 23:59 ` [Bug python/18305] " dje at google dot com
  2015-04-23  0:03 ` dje at google dot com
@ 2022-06-05 15:17 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2022-06-05 15:17 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
                 CC|                            |tromey at sourceware dot org

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
Seems fully covered by the other bug.

*** This bug has been marked as a duplicate of bug 14169 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-05 15:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-22 23:53 [Bug python/18305] New: python error in disable pretty-printer command dje at google dot com
2015-04-22 23:59 ` [Bug python/18305] " dje at google dot com
2015-04-23  0:03 ` dje at google dot com
2022-06-05 15:17 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).