This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/14396] Missing DW_ATE_UTF support (char16_t, char32_t)
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 24 Jul 2012 22:39:36 +0000
- Subject: [Bug translator/14396] Missing DW_ATE_UTF support (char16_t, char32_t)
- Auto-submitted: auto-generated
- References: <bug-14396-6586@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14396
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jistone at redhat dot com
--- Comment #1 from Josh Stone <jistone at redhat dot com> 2012-07-24 22:39:36 UTC ---
(In reply to comment #0)
> $ stap -e 'probe process.function("main") { log($foo$$); log($bar$$) }' -c
> ./utf
> "cow"
> 4195852
>
> Would be nice to see the $bar value also decoded.
dwarf_pretty_print::print_chars() uses user_string2/kernel_string2 to read
strings bytewise. We could add similar functions for UTF-16 and UTF-32 which
convert to UTF-8 to make stap strings.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.