From: Joern Rennecke (amylaar@mcshh.Hanse.DE)
Date: 10/23/92


From: amylaar@mcshh.Hanse.DE (Joern Rennecke)
Subject: abort()
Date: Fri, 23 Oct 1992 19:15:01 GMT


Whenever i try gdb on a core that results from an abort() call,
I get no or a bogus backtrace. However, when replacing abort(); with
*(char*)0=0/0; , I get a nice core by an arithmetic exception, with a fully
usable backtrace.
Is this uselessness of the coredumps by abort() a bug or an installation
problem?
My linux configuration is SLS 0.96 distribution, augmented with gcc 2.2.2d7
(gcc, no g++) from the gccdisk #1 and shared libraries from the libdisks
41lib[12].tar . The gdb is version 4.6 from basedisk3. Kernel is 0.98 with
the 0.98p1 patches.

Joern Rennecke