Merge "Fix __android_log_assert to abort."
This commit is contained in:
commit
0ffaa2b75a
2 changed files with 2 additions and 2 deletions
|
@ -491,7 +491,7 @@ void __android_log_assert(const char *cond, const char *tag,
|
|||
}
|
||||
|
||||
__android_log_write(ANDROID_LOG_FATAL, tag, buf);
|
||||
__builtin_trap(); /* trap so we have a chance to debug the situation */
|
||||
abort(); /* abort so we have a chance to debug the situation */
|
||||
/* NOTREACHED */
|
||||
}
|
||||
|
||||
|
|
|
@ -266,7 +266,7 @@ void __android_log_assert(const char *cond, const char *tag,
|
|||
}
|
||||
|
||||
__android_log_write(ANDROID_LOG_FATAL, tag, buf);
|
||||
__builtin_trap(); /* trap so we have a chance to debug the situation */
|
||||
abort(); /* abort so we have a chance to debug the situation */
|
||||
/* NOTREACHED */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue