public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/61835] New: Invalid comment on pretty printers breaks gdb
@ 2014-07-17 19:47 mariano.bessone at tallertechnologies dot com
2014-07-18 15:56 ` [Bug libstdc++/61835] " redi at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: mariano.bessone at tallertechnologies dot com @ 2014-07-17 19:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61835
Bug ID: 61835
Summary: Invalid comment on pretty printers breaks gdb
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: mariano.bessone at tallertechnologies dot com
Created attachment 33136
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33136&action=edit
Workaround
Running gdb with latest pretty printers causes:
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "/data/utils/prettyprinters/libstdcxx/v6/printers.py", line 1056
"""
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in
position 194-195: malformed \N character escape
/home/marjobe/.gdbinit:6: Error in sourced command file:
Error while executing Python code.
The problem is that a comment contains an escape sequence. See workaround in
the attached patch.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/61835] Invalid comment on pretty printers breaks gdb
2014-07-17 19:47 [Bug libstdc++/61835] New: Invalid comment on pretty printers breaks gdb mariano.bessone at tallertechnologies dot com
@ 2014-07-18 15:56 ` redi at gcc dot gnu.org
2014-07-18 15:58 ` redi at gcc dot gnu.org
2014-07-18 18:37 ` mariano.bessone at tallertechnologies dot com
2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2014-07-18 15:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61835
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Jul 18 15:56:00 2014
New Revision: 212822
URL: https://gcc.gnu.org/viewcvs?rev=212822&root=gcc&view=rev
Log:
PR libstdc++/61835
* python/libstdcxx/v6/printers.py (TemplateTypePrinter): Use
raw string.
(SingleObjContainerPrinter): Check if type printers are in use.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/python/libstdcxx/v6/printers.py
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/61835] Invalid comment on pretty printers breaks gdb
2014-07-17 19:47 [Bug libstdc++/61835] New: Invalid comment on pretty printers breaks gdb mariano.bessone at tallertechnologies dot com
2014-07-18 15:56 ` [Bug libstdc++/61835] " redi at gcc dot gnu.org
@ 2014-07-18 15:58 ` redi at gcc dot gnu.org
2014-07-18 18:37 ` mariano.bessone at tallertechnologies dot com
2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2014-07-18 15:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61835
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Version|unknown |4.10.0
Resolution|--- |FIXED
Target Milestone|--- |4.10.0
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Should be fixed
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/61835] Invalid comment on pretty printers breaks gdb
2014-07-17 19:47 [Bug libstdc++/61835] New: Invalid comment on pretty printers breaks gdb mariano.bessone at tallertechnologies dot com
2014-07-18 15:56 ` [Bug libstdc++/61835] " redi at gcc dot gnu.org
2014-07-18 15:58 ` redi at gcc dot gnu.org
@ 2014-07-18 18:37 ` mariano.bessone at tallertechnologies dot com
2 siblings, 0 replies; 4+ messages in thread
From: mariano.bessone at tallertechnologies dot com @ 2014-07-18 18:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61835
Mariano Bessone <mariano.bessone at tallertechnologies dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
--- Comment #3 from Mariano Bessone <mariano.bessone at tallertechnologies dot com> ---
CONFIRMED.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-18 18:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-17 19:47 [Bug libstdc++/61835] New: Invalid comment on pretty printers breaks gdb mariano.bessone at tallertechnologies dot com
2014-07-18 15:56 ` [Bug libstdc++/61835] " redi at gcc dot gnu.org
2014-07-18 15:58 ` redi at gcc dot gnu.org
2014-07-18 18:37 ` mariano.bessone at tallertechnologies dot com
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).