diff options
author | hunt <hunt> | 2006-02-23 21:01:51 +0000 |
---|---|---|
committer | hunt <hunt> | 2006-02-23 21:01:51 +0000 |
commit | 58cf0567b5d6f06e320d169be722eefb3df2b2c1 (patch) | |
tree | ad71d183e5775af724f6669836c78279db59eefc /elaborate.cxx | |
parent | aff9a0ecf38b32f94dca0cc8abad939dfbf03575 (diff) | |
download | systemtap-steved-58cf0567b5d6f06e320d169be722eefb3df2b2c1.tar.gz systemtap-steved-58cf0567b5d6f06e320d169be722eefb3df2b2c1.tar.xz systemtap-steved-58cf0567b5d6f06e320d169be722eefb3df2b2c1.zip |
2006-02-23 Martin Hunt <hunt@redhat.com>
PR 1989. Adds support for %p in printf
* staptree.h (struct print_format): Add conv_unsigned_ptr.
* staptree.cxx (components_to_string): Output 'p'
for conv_unsigned_ptr.
* elaborate.cxx (visit_print_format): Add case for
conv_unsigned_ptr.
Diffstat (limited to 'elaborate.cxx')
-rw-r--r-- | elaborate.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/elaborate.cxx b/elaborate.cxx index a906bb87..48a3cbb3 100644 --- a/elaborate.cxx +++ b/elaborate.cxx @@ -2275,6 +2275,7 @@ typeresolution_info::visit_print_format (print_format* e) case print_format::conv_signed_decimal: case print_format::conv_unsigned_decimal: case print_format::conv_unsigned_octal: + case print_format::conv_unsigned_ptr: case print_format::conv_unsigned_uppercase_hex: case print_format::conv_unsigned_lowercase_hex: wanted = pe_long; |