debugging: add calls to 'personality'
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 31 Jul 2017 09:29:03 +0000 (11:29 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 31 Jul 2017 09:29:03 +0000 (11:29 +0200)
commit53d40413752d791483a3c1b6daca82f1e07feb81
treea84f15b97c4b4e1e9c1c9abf65166027f2de36d6
parent307a49509646a6304363135cf0790f51dfd285af
debugging: add calls to 'personality'

Insertion of calls to personality for the only
pupose to be able to set breakpoint at some
strategic places.

The chosen places are:
 - After the debug wait point. The intend is to
   allow simulation of breakpoint after attaching
   to the waiting process.
 - Before starting the bindings but after loading
   it. The intend is to allow loading of symbols and
   setting of breakpoints in the debugged binding
   without attaching to afb-daemon that comes without
   debug symbols.

Change-Id: Ie3bfce0956c9844586c7a5f8bd820acb7f58772c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-debug.c
src/main.c