X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-debug.c;fp=src%2Fafb-debug.c;h=db403a6baf36b88cf7753ae7e76c22e16ded1f74;hb=5c823cc899aa48e6f7747181af593bb9c57a7b80;hp=e7a5c643f21178c181e108c1e761c9be6063bb48;hpb=444bae110b04dce8d3e05a392716179f4a291a5e;p=src%2Fapp-framework-binder.git diff --git a/src/afb-debug.c b/src/afb-debug.c index e7a5c643..db403a6b 100644 --- a/src/afb-debug.c +++ b/src/afb-debug.c @@ -30,6 +30,9 @@ #include #include #include +#if !defined(NO_CALL_PERSONALITY) +#include +#endif #include "verbose.h" @@ -98,6 +101,9 @@ void afb_debug(const char *key) indicate(NULL); sigprocmask(SIG_SETMASK, &oss, NULL); NOTICE("DEBUG WAIT after %s", key); +#if !defined(NO_CALL_PERSONALITY) + personality((unsigned long)-1L); +#endif } if (has_key(key, secure_getenv(key_env_break))) { NOTICE("DEBUG BREAK before %s", key);