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 sudheerhebbale@gmail.com
CC jdevlieghere@apple.com, llvm-bugs@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