title: Core Dump is is not working
body: <p>When I run programs with segfaults I get an error message <strong>Segmentation fault: 11</strong>. For some reason, I'm not getting the (core dumped) message. I tried running the shell command <code>ulimit -c unlimited</code>, but I still get the same error and it doesn't say core dumped. I'm new to GDB so I tried it with a simple program:</p>
  
  <pre><code>/* coredump.c */
  #include &lt;stdio.h&gt;
  int main (void) {
    int *point = NULL;
    *point = 0;
    return 0;
  }
  </code></pre>
  
  <p>But when I compile using:</p>
  
  <pre><code>gcc coredump.c -g -o coredump
  </code></pre>
  
  <p>And run it, it still says <code>segfault: 11</code></p>
  
  <p>Is it still creating a core dump somewhere I don't know about? I want to be able to use <strong>gdb coredump core</strong>.</p>