From 58cf0567b5d6f06e320d169be722eefb3df2b2c1 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 23 Feb 2006 21:01:51 +0000 Subject: 2006-02-23 Martin Hunt 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. --- elaborate.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'elaborate.cxx') 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; -- cgit