[lldb-dev] [Bug 43348] New: error: process exited with status -1 (Error 1), when a program is run

via lldb-dev lldb-dev at lists.llvm.org
Wed Sep 18 02:20:28 PDT 2019


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 at lists.llvm.org
          Reporter: sudheerhebbale at gmail.com
                CC: jdevlieghere at apple.com, llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190918/e8262962/attachment.html>


More information about the lldb-dev mailing list