This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/10705] python traceback on bad string character decoding
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 19 Oct 2009 20:06:39 -0000
- Subject: [Bug python/10705] python traceback on bad string character decoding
- References: <20090929200039.10705.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From tromey at redhat dot com 2009-10-19 20:06 -------
We could try playing with the "errors" parameter to Value.string.
Long term I think we want to have Value.string (or a replacement if
this cannot be done compatibly) return a Value that wraps a "lazy string".
This would require a small extension to struct value to let us
pass in the encoding (when known).
Additionally we'd want the pretty-printer string-printing code to
then respect "set print repeat", and generally work like the C string printer
when it comes to undecodable characters.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2009-10-19 20:06:39
date| |
http://sourceware.org/bugzilla/show_bug.cgi?id=10705
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.