jackdanielz pushed a commit to branch master. http://git.enlightenment.org/tools/clouseau.git/commit/?id=6ea12a9746f3be0df1f87bb85027316212ef809f
commit 6ea12a9746f3be0df1f87bb85027316212ef809f Author: Daniel Zaoui <daniel.za...@samsung.com> Date: Mon Jun 15 13:12:26 2015 +0300 Fix display of UINT64 in compactable lists UINT64 should be displayed in hexadecimal. --- src/bin/clouseau_client.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/bin/clouseau_client.c b/src/bin/clouseau_client.c index 4b2ad14..9606ba9 100644 --- a/src/bin/clouseau_client.c +++ b/src/bin/clouseau_client.c @@ -2075,9 +2075,19 @@ _obj_info_compactable_list_to_buffer(Eo_Dbg_Info *root_eo, char* buffer, unsigne buffer += snprintf(buffer, buffer_size, "%s:", root_eo->name); EINA_LIST_FOREACH(list.list, l, eo) { - char *strval = eina_value_to_string(&(eo->value)); - buffer += snprintf(buffer, buffer_size, " %s: %s", eo->name, strval); - free(strval); + if (eina_value_type_get(&(eo->value)) == EINA_VALUE_TYPE_UINT64) + { + /* We treat UINT64 as a pointer. */ + uint64_t ptr = 0; + eina_value_get(&(eo->value), &ptr); + buffer += snprintf(buffer, buffer_size, " %s: %llx", eo->name, (unsigned long long) ptr); + } + else + { + char *strval = eina_value_to_string(&(eo->value)); + buffer += snprintf(buffer, buffer_size, " %s: %s", eo->name, strval); + free(strval); + } } } --