Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
+2014-01-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix false FAILs on testsuite with ulimit -c unlimited.
+ * backtrace-child.c (sigusr2): Call pthread_exit.
+ (main): Return, do not call abort.
+
2014-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix corruption of non-C++ symbols by the demangler.
if (! gencore)
{
raise (SIGUSR1);
- /* It should not be reached. */
+ /* Do not return as stack may be invalid due to ptrace-patched PC to the
+ jmp function. */
+ pthread_exit (NULL);
+ /* Not reached. */
abort ();
}
/* Here we dump the core for --gencore. */
pthread_join (thread, NULL);
else
raise (SIGUSR2);
- /* Not reached. */
- abort ();
+ return 0;
}