public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/14169] New: need to print a better error message for regexp failures in enable|disable pretty-printer
@ 2012-05-25 17:42 dje at google dot com
2012-05-25 17:44 ` [Bug python/14169] " dje at google dot com
2022-06-05 15:17 ` tromey at sourceware dot org
0 siblings, 2 replies; 3+ messages in thread
From: dje at google dot com @ 2012-05-25 17:42 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14169
Bug #: 14169
Summary: need to print a better error message for regexp
failures in enable|disable pretty-printer
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned@sourceware.org
ReportedBy: dje@google.com
Classification: Unclassified
The error message here is a bit obscure.
[This isn't intended to be spelled 100% correctly, just to provide context for
the issue.]
(gdb) disable pretty global libstdc++;foo
Python Exception <class 'sre_constants.error'> multiple repeat:
Error occurred in Python command: multiple repeat
Once one realizes the +s are regexp functions it's clear, but it's just too
damn easy to type c++ instead of remembering to type c[+][+] or some such.
---
One *could* also provide different ways of specifying the printer besides a
plain regexp, but I was planning on waiting until there was a sufficient need.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug python/14169] need to print a better error message for regexp failures in enable|disable pretty-printer
2012-05-25 17:42 [Bug python/14169] New: need to print a better error message for regexp failures in enable|disable pretty-printer dje at google dot com
@ 2012-05-25 17:44 ` dje at google dot com
2022-06-05 15:17 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: dje at google dot com @ 2012-05-25 17:44 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14169
--- Comment #1 from dje at google dot com 2012-05-25 17:44:46 UTC ---
I think it would also be useful to put this specific example (libstdc++) as an
example in the docs (online and offline).
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug python/14169] need to print a better error message for regexp failures in enable|disable pretty-printer
2012-05-25 17:42 [Bug python/14169] New: need to print a better error message for regexp failures in enable|disable pretty-printer dje at google dot com
2012-05-25 17:44 ` [Bug python/14169] " dje at google dot com
@ 2022-06-05 15:17 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ 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=14169
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
*** Bug 18305 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-05 15:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-25 17:42 [Bug python/14169] New: need to print a better error message for regexp failures in enable|disable pretty-printer dje at google dot com
2012-05-25 17:44 ` [Bug python/14169] " 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).