https://bugs.llvm.org/show_bug.cgi?id=43348

            Bug ID: 43348
           Summary: error: process exited with status -1 (Error 1), when a
                    program is run
           Product: lldb
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev@lists.llvm.org
          Reporter: sudheerhebb...@gmail.com
                CC: jdevliegh...@apple.com, llvm-b...@lists.llvm.org

Debugging of a basic C program fails when using lldb

The program is: hello.c

#include <stdio.h>
int main()
{
printf("Hello world\n");
return (0);
}

After compilation, linking and running lldb and then the run command. An error
is shown
 clang -g -o hello hello.c

$ lldb hello

(lldb) target create "hello"

Current executable set to 'hello' (x86_64).

(lldb) run

error: process exited with status -1 (Error 1)


Any help in this regard is much appreciated

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to