Thread overview
how to enable core dumps for assert() triggering?
Aug 16, 2011
mimocrocodil
Aug 16, 2011
Timon Gehr
Aug 16, 2011
Jonathan M Davis
August 16, 2011
subj
August 16, 2011
On 08/16/2011 02:48 AM, mimocrocodil wrote:
> subj

try compiling to 32 bit with the -m32 flag in non-release mode. afaik the 64 bit compiler does not yet support core dumps.

(if you are actually compiling to 32 bit then I don't know why you don't get a core dump and you'd have to provide more information about your compiler and OS setup.)
August 16, 2011
On Tuesday, August 16, 2011 18:07:45 Timon Gehr wrote:
> On 08/16/2011 02:48 AM, mimocrocodil wrote:
> > subj
> 
> try compiling to 32 bit with the -m32 flag in non-release mode. afaik the 64 bit compiler does not yet support core dumps.
> 
> (if you are actually compiling to 32 bit then I don't know why you don't get a core dump and you'd have to provide more information about your compiler and OS setup.)

I can get coredumps with -m64, but they don't work with gdb, so it's kind of pointless.

- Jonathan M Davis