From 30c94a80d5f7bef33450bd1a7e090c8e99b6db89 Mon Sep 17 00:00:00 2001 From: Elliott Baron Date: Fri, 19 Dec 2008 10:03:35 -0500 Subject: First attempt at printf kernel memory hex dump --- staptree.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'staptree.cxx') diff --git a/staptree.cxx b/staptree.cxx index 51992d7a..fafefc4e 100644 --- a/staptree.cxx +++ b/staptree.cxx @@ -494,6 +494,10 @@ print_format::components_to_string(vector const & components) oss << 'm'; break; + case conv_memory_hex: + oss << 'M'; + break; + default: break; } @@ -655,6 +659,10 @@ print_format::string_to_components(string const & str) curr.type = conv_memory; break; + case 'M': + curr.type = conv_memory_hex; + break; + case 'd': case 'i': curr.type = conv_signed_decimal; -- cgit