add __smatch_cur_slist() debug function.
commit4ee094e703990736d1c546bfbc4ccd9dc01177e2
authorDan Carpenter <error27@gmail.com>
Mon, 7 Dec 2009 09:48:37 +0000 (7 11:48 +0200)
committerDan Carpenter <error27@gmail.com>
Mon, 7 Dec 2009 09:48:37 +0000 (7 11:48 +0200)
treed2ab867d2581d6fc3c1d2be08df33af1b7b8837e
parent187e7f997d0e61ba99754f2905e5fa7649144be2
add __smatch_cur_slist() debug function.

The check_debug.h stuff is pretty useful.  Sometimes it's hard to tell
what the states are at a given line from the --debug output.  With the
debug stuff you can just add an:
#include "/path/to/smatch/check_debug.h"
Then you can past __smatch_cur_slist(); functions at points of interest.

Signed-off-by: Dan Carpenter <error27@gmail.com>
check_debug.c
check_debug.h