[lldb-dev] tcgetpgrp(2) returns -1

Tsukasa OMOTO henry0312 at gmail.com
Fri Jul 18 04:48:33 PDT 2014


Dear depelovers,

I made a simple program => http://privatepaste.com/15b2bacf7b

If I start it via gdb, gdb outputs:
    (gdb) r
    Starting program: /Users/fuuuuu/work/test
    1
    4476
    4476
    Program exited normally.

If I start it via lldb, lldb outputs:
    (lldb) r
    Process 4547 launched: '/Users/fuuuuu/work/test' (x86_64)
    1
    4547
    -1
    Inappropriate ioctl for device
    Process 4547 exited with status = 0 (0x00000000)

Is that LLDB's bug?

Best regards,
Tsukasa.



More information about the lldb-dev mailing list