debug: Create a file indicating the waiting point
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 6 Jul 2017 08:59:14 +0000 (10:59 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 11 Jul 2017 15:12:08 +0000 (17:12 +0200)
When AFB_DEBUG_WAIT is used, the file /tmp/afb-debug-<PID>
is created and contains the name of the awaiting point
(without tailing new line)

Signals other than SIGINT are ignored when waiting
for SIGINT. This improves the cleaning up. Example:
the signal SIGTERM is delayed until after removal of
the debugging indication file.

Change-Id: I5c896e4d9a3a098affc18d4282e260d9bb253611
Signed-off-by: José Bollo <jose.bollo@iot.bzh>

No differences found