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/10705] python traceback on bad string character decoding


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]