1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-22 07:37:38 +01:00

UnwDebug: also print init_id

This commit is contained in:
Théophile Bastian 2019-06-08 15:54:43 +02:00
parent 82cfdcd3f3
commit c0f4449920

View file

@ -65,7 +65,7 @@ static int unw_step_id(unw_cursor_t *cursor) {
% (1000000007);
}
#define UnwDebug(lvl, fmt, ...) Debug(lvl, "[%X] " fmt, unw_step_id(cursor), ##__VA_ARGS__)
#define UnwDebug(lvl, fmt, ...) Debug(lvl, "[%X] <%d> " fmt, unw_step_id(cursor), init_id, ##__VA_ARGS__)
PROTECTED int
unw_step (unw_cursor_t *cursor)