This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug rust/20164] New: fix string printing in rust
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 27 May 2016 20:31:59 +0000
- Subject: [Bug rust/20164] New: fix string printing in rust
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20164
Bug ID: 20164
Summary: fix string printing in rust
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: rust
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
String printing in rust is somewhat wrong.
I think it always tries to print &[u8] using UTF-8.
Maybe that is ok, but sometimes &[u8] is just bytes.
Maybe some detection could be done; or maybe it could
default to printing bytes and special case the contents
of &str.
Escapes should be printed rust-style, like \u{nnn},
but currently are not.
--
You are receiving this mail because:
You are on the CC list for the bug.