File: debug.h

package info (click to toggle)
gettyps 2.0.7j-9
  • links: PTS
  • area: non-free
  • in suites: potato, woody
  • size: 364 kB
  • ctags: 285
  • sloc: ansic: 2,644; makefile: 75; sh: 3
file content (8 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
/* define this if you want to be able to debug with gdb */
/* #define GDB_FRIENDLY */

/* define these if you're trying to track down signal()/alarm() invocations */
#define alarm(d) alarm(d); debug(D_RUN, "alarm set: %s:%u", __FILE__, __LINE__)
#define signal(d,e) signal(d,e); debug(D_RUN, "signal set: %s:%u", __FILE__, \
	__LINE__)