diff options
author | neal <neal> | 2007-11-23 13:24:45 +0000 |
---|---|---|
committer | neal <neal> | 2007-11-23 13:24:45 +0000 |
commit | 2b62e6480aaa4c3dcb73f45fa4977d6b2e7de080 (patch) | |
tree | c6e56c950f18112a8dd69c6ae0394d5e34b3500e /viengoos/cap-lookup.c | |
parent | 236dd43f48b4a9e3c61e55eaa753c0baf98ecb73 (diff) |
2007-11-23 Neal H. Walfield <neal@gnu.org>
* cap-lookup.c (lookup): Improving debugging output for when we
expect an address translation unit but don't find one.
Diffstat (limited to 'viengoos/cap-lookup.c')
-rw-r--r-- | viengoos/cap-lookup.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/viengoos/cap-lookup.c b/viengoos/cap-lookup.c index 6aff397..af1fac0 100644 --- a/viengoos/cap-lookup.c +++ b/viengoos/cap-lookup.c @@ -208,10 +208,13 @@ lookup (activity_t activity, default: /* We designate a non-address bit translating object but we have no bits left to translate. */ - debug (1, "Encountered a %s at %llx/%d, expected a cappage", + do_debug (4) + as_dump_from (activity, start, NULL); + debug (1, "Translating " ADDR_FMT ", encountered a %s at " + ADDR_FMT " but expected a cappage or a folio", + ADDR_PRINTF (address), cap_type_string (root->type), - addr_prefix (addr_chop (address, remaining)), - addr_depth (address) - remaining); + ADDR_PRINTF (addr_chop (address, remaining))); return false; } |