Changeset 5b7a107 in mainline for kernel/generic/include/debug.h


Ignore:
Timestamp:
2011-01-27T16:52:14Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
875c629
Parents:
bf75e3cb (diff), df58e44 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

as the 'btrace' command depends on udebug, make it optional on CONFIG_UDEBUG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/debug.h

    rbf75e3cb r5b7a107  
    5555        do { \
    5656                if (!(expr)) \
    57                         panic_assert("%s", #expr); \
     57                        panic_assert("%s() at %s:%u:\n%s", \
     58                            __func__, __FILE__, __LINE__, #expr); \
    5859        } while (0)
    5960
     
    7273        do { \
    7374                if (!(expr)) \
    74                         panic_assert("%s, %s", #expr, msg); \
     75                        panic_assert("%s() at %s:%u:\n%s, %s", \
     76                            __func__, __FILE__, __LINE__, #expr, msg); \
    7577        } while (0)
    7678
Note: See TracChangeset for help on using the changeset viewer.