From dc0b623a28b4185e155f16a9cf63a8f22c528b5f Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 10 Apr 2006 04:53:03 +0000 Subject: 2006-04-09 Martin Hunt Add binary printf support. * elaborate.cxx (visit_print_format): Don't include conv_literal or conv_size in components vector. Add conv_binary to switch statement. * translate.cxx (visit_print_format): Eliminate special cast to (long long) for pe_long because new vsnprintf uses int64_t. * staptree.h (struct print_format): Add conv_binary and conv_size. * staptree.cxx (components_to_string): Add conv_binary case. Add conv_size case. (string_to_components): Add cases for 'b' and 'n' --- staptree.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'staptree.h') diff --git a/staptree.h b/staptree.h index bb472507..3221e43b 100644 --- a/staptree.h +++ b/staptree.h @@ -281,7 +281,9 @@ struct print_format: public expression conv_unsigned_uppercase_hex, conv_unsigned_lowercase_hex, conv_string, - conv_literal + conv_literal, + conv_binary, + conv_size }; struct format_component -- cgit