Index: include/loader.h =================================================================== --- include/loader.h (revision 150) +++ include/loader.h (working copy) @@ -9,6 +9,7 @@ static __typeof__(&name) next; \ if (__builtin_expect(next == NULL, 0)) \ next = (__typeof__(next)) dlsym(RTLD_NEXT, #name); \ + printf("chain(%s): %p\n", #name, next); \ (*next)(__VA_ARGS__); }) \ #define glue(name, ...) ({ \