]> sourceware.org Git - systemtap.git/commit - tapsets.cxx
PR3672: Auto-stringify char* and char[]
authorJosh Stone <jistone@redhat.com>
Tue, 15 Jun 2010 22:17:39 +0000 (15:17 -0700)
committerJosh Stone <jistone@redhat.com>
Wed, 16 Jun 2010 01:35:21 +0000 (18:35 -0700)
commitbbee5bb8e68649b1bfe74896303342a82e0e8ac6
treef09ac864be5d4f1613e236754d777d9043c67e68
parent3a147004a8d4988df864ecc9ac133577838136a6
PR3672: Auto-stringify char* and char[]

* tapsets.cxx (dwarf_pretty_print::print_chars): New, if the referenced
  type looks like a C-string, dereference it as such.
  (dwarf_pretty_print::recurse_array): Try print_chars first.
  (dwarf_pretty_print::recurse_pointer): Ditto.
* tapset/conversions.stp (kernel_string2): New, with error string.
tapset/conversions.stp
tapsets.cxx
This page took 0.0667 seconds and 5 git commands to generate.