On Wed, Apr 16, 2014 at 03:33:05PM +0900, Masatake YAMATO wrote: > Introduce unwind.c own debug macro to be utilized > in debugging the code of cache management. > > Signed-off-by: Masatake YAMATO <[email protected]> > --- > unwind.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/unwind.c b/unwind.c > index ecb7aa0..bd30fc2 100644 > --- a/unwind.c > +++ b/unwind.c > @@ -28,6 +28,8 @@ > #include <limits.h> > #include <libunwind-ptrace.h> > > +#define DPRINTF(F, A, ...) if (debug_flag) fprintf(stderr, " [unwind(" A ")] > " F "\n", __VA_ARGS__);
Trailing semicolon in macro definition is dangerous, please avoid it in the future. -- ldv
pgptXStnV1Zxp.pgp
Description: PGP signature
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
