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>
Wed, 2 Aug 2017 11:52:49 +0000 (13:52 +0200)
commit5c823cc899aa48e6f7747181af593bb9c57a7b80
treeccfab979186c331187c7cedcf00f8b748a9fc8f8
parent444bae110b04dce8d3e05a392716179f4a291a5e
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