Greg Clayton wrote:
So to clear things up:
-t or --tty will attempt to launch the process in a _separate_terminal_window_
(open a new terminal window and launch your process within it so the process
gets its own window and we don't have to shared IO) and should never be used
with -n (--no-stdio). If they currently can be run together then this is a bug.
--tty isn't supported on Linux as far as I know and the linux launch code
should return an error saying this isn't supported. The --tty option is
designed to be used when you want to debug anything that uses curses (emacs,
vi, etc) and where having a different terminal window with its own
stdin/out/err is required.
--no-stdio should, as you surmised, launch a process with /dev/null as the
stdin/out/err. It also means we should always have a prompt.
To to summarize:
(lldb) process launch ...
No LLDB prompt while running as all input goes to process (though if CTRL+C is
pressed and we will stop the target for you)
(lldb) process launch --tty -- ...
LLDB prompt always visible, process launches in a different terminal window,
not supported on linux, should never be used with --no-stdio and if our options
allow it, this is a bug
(lldb) process launch --no-stdio -- ...
LLDB prompt always visible (if not, then a bug, probably only on the linux
side).
Thanks for confirming this.
I might have a look at fixing the linux bug in a few weeks if the rest
of my work permits.
Matt
Member of the CSR plc group of companies. CSR plc registered in England and
Wales, registered number 4187346, registered office Churchill House, Cambridge
Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Keep up to date with CSR on our
technical blog, www.csr.com/blog, CSR people blog, www.csr.com/people, YouTube,
www.youtube.com/user/CSRplc, Facebook,
www.facebook.com/pages/CSR/191038434253534, or follow us on Twitter at
www.twitter.com/CSR_plc.
New for 2014, you can now access the wide range of products powered by aptX at
www.aptx.com.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev