Changeset ad45bde9 in mainline for generic/include/debug.h


Ignore:
Timestamp:
2006-04-23T14:17:44Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f41004e
Parents:
6ecc8bce
Message:

Fix pointers output format.
Fix format of slab and zones tables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/debug.h

    r6ecc8bce rad45bde9  
    5050 */
    5151#ifdef CONFIG_DEBUG
    52 #       define ASSERT(expr) if (!(expr)) { panic("assertion failed (%s), caller=%p\n", #expr, CALLER); }
     52#       define ASSERT(expr) if (!(expr)) { panic("assertion failed (%s), caller=%.*p\n", #expr, sizeof(__address) * 2, CALLER); }
    5353#else
    5454#       define ASSERT(expr)
Note: See TracChangeset for help on using the changeset viewer.