title: lldb gives error "error: process exited with status -1 (Error 1)"
body: <p>Debugging of a basic C program fails when using lldb</p>
  
  <p>The program is: hello.c</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main()
  {
  printf("Hello world\n");
  return (0);
  }
  </code></pre>
  
  <p>After compilation, linking and running lldb and then the run command.
  An error is shown </p>
  
  <pre><code>$ lldb hello
  
  (lldb) target create "hello"
  
  Current executable set to 'hello' (x86_64).
  
  (lldb) run
  
  error: process exited with status -1 (Error 1)
  </code></pre>
  
  <p>Any help in this regard is much appreciated</p>