[lldb-dev] Stopped status is reported as exit by 32-bit linux lldb
mg11 at csr.com
Fri Feb 21 02:48:49 PST 2014
With a recent build of 32-bit linux lldb, tracer stop being
sent to the inferior results in lldb erroneously reporting
that the inferior has exit:
$ lldb hello
Current executable set to 'hello' (i386).
Process 2115 launching
Process 2115 stopped
* thread #1: tid = 2115, 0x00000000, name = 'hello', stop reason = trace
frame #0: 0x00000000
error: Input/output error
(lldb) Process 2115 launched: '/home/mg11/src/play/clang-tests/hello/hello' (i386)
Hello from test program!!
(lldb) process interrupt
Process 2115 exited with status = 0 (0x00000000)
But the kernel reports the following about the inferior:
$ cat /proc/2115/status
State: t (tracing stop)
The statement "Process 2115 exited with status = 0 (0x00000000)" is
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.
More information about the lldb-dev