[Bug translator/14396] Missing DW_ATE_UTF support (char16_t, char32_t)
jistone at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Jul 24 22:39:00 GMT 2012
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.
More information about the Systemtap
mailing list