This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
--- Russell Shaw <rjshaw@netspace.net.au> wrote:
What's the best way to force a core-dump from my own code? (I couldn't find much on the net)
Doesn't a SIGABRT (kill -6) force a core dump?
I put this in my own code, but it still doesn't make a core file:
printf("Aborting...\n");
raise(6);| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |