This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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 translator/14396] Missing DW_ATE_UTF support (char16_t, char32_t)


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.


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