am c27103d8
: Merge "[MIPS] Use an aligned address to provoke SIGSEGV in abort()"
* commit 'c27103d84c124d40f3f4cff46d7cfa74342e0585': [MIPS] Use an aligned address to provoke SIGSEGV in abort()
This commit is contained in:
commit
9dbd4c06fe
@ -79,7 +79,12 @@ abort(void)
|
||||
|
||||
/* temporary, for bug hunting */
|
||||
/* seg fault seems to produce better debuggerd results than SIGABRT */
|
||||
#ifdef __mips__
|
||||
/* An access that will generate SIGSEGV rather than SIGBUS. */
|
||||
*((char*)0xdeadc0c0) = 39;
|
||||
#else
|
||||
*((char*)0xdeadbaad) = 39;
|
||||
#endif
|
||||
/* -- */
|
||||
|
||||
(void)kill(getpid(), SIGABRT);
|
||||
|
Loading…
Reference in New Issue
Block a user