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=53d40413752d791483a3c1b6daca82f1e07feb81;hp=e7a5c643f21178c181e108c1e761c9be6063bb48;hpb=307a49509646a6304363135cf0790f51dfd285af;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);