digitalmars.D.learn - how to enable core dumps for assert() triggering?
- mimocrocodil (1/1) Aug 15 2011 subj
- Timon Gehr (6/7) Aug 16 2011 try compiling to 32 bit with the -m32 flag in non-release mode. afaik
- Jonathan M Davis (4/13) Aug 16 2011 I can get coredumps with -m64, but they don't work with gdb, so it's kin...
- mimocrocodil (2/2) Aug 16 2011 to Timon Gehr:
On 08/16/2011 02:48 AM, mimocrocodil wrote:subjtry 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.)
Aug 16 2011
On Tuesday, August 16, 2011 18:07:45 Timon Gehr wrote:On 08/16/2011 02:48 AM, mimocrocodil wrote:I can get coredumps with -m64, but they don't work with gdb, so it's kind of pointless. - Jonathan M Davissubjtry 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.)
Aug 16 2011