Printing stacktrace on segfault

simendsjo simendsjo at gmail.com
Thu Mar 29 07:22:03 PDT 2012


On Tue, 27 Mar 2012 16:30:01 +0200, David <d at dav1d.de> wrote:

> Am 27.03.2012 12:04, schrieb simendsjo:
>> Is there a way to print a stacktrace on segfaults on linux?
>
> I haven't found one, but you can use gdb, the only thing you've to do is  
> to compile with -g and -gc (or you use gdc)

Thanks. Using only -g seems to work just fine on gdb 7.3


More information about the Digitalmars-d-learn mailing list