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

Todd Fiala tfiala at google.com
Fri Jul 18 10:26:07 PDT 2014


Hi Tsukasa,

Thanks for reaching out!

Can you provide us a bit of info to help us answer your question?

1. Which OS did you build the test on?  (MacOSX, Linux, FreeBSD, something
else?)
2. Is it a 32-bit or 64-bit system?
3. Which compiler did you build your test with?
4. Where did you get the lldb?  (What does it say when you type 'lldb
--version'?)

Hopefully we can narrow down the issue once we have a bit more context.

Thanks!

-Todd


On Fri, Jul 18, 2014 at 4:48 AM, Tsukasa OMOTO <henry0312 at gmail.com> wrote:

> 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.
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>



-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140718/fb9720f6/attachment.html>


More information about the lldb-dev mailing list