[lldb-dev] What is the stop/pause command for lldb?
Hafiz_Abid at mentor.com
Fri Feb 21 02:28:43 PST 2014
Try "process interrupt"
> -----Original Message-----
> From: lldb-dev-bounces at cs.uiuc.edu [mailto:lldb-dev-bounces at cs.uiuc.edu]
> On Behalf Of Matthew Gardiner
> Sent: 21 February 2014 10:13
> To: lldb-dev at cs.uiuc.edu
> Subject: [lldb-dev] What is the stop/pause command for lldb?
> Hi people,
> What is the command to get a running target (inferior) process to stop from
> the lldb command line?
> Is it the Control-C sequence, as in gdb?
> I've built (from the TRUNK) on 32-bit linux an lldb, with a couple of local
> patches (for incorrect register map and broken writes to
> dr6/7) and Control-C does not stop the program-being-debugged.
> $ lldb hello
> Current executable set to 'hello' (i386).
> (lldb) run
> Process 1996 launching
> Process 1996 stopped
> * thread #1: tid = 1996, 0x00000000, name = 'hello', stop reason = trace
> frame #0: 0x00000000
> error: Input/output error
> (lldb) Process 1996 launched: '/home/mg11/src/play/clang-tests/hello/hello'
> (i386) Hello from test program!!
> <--- I pressed Control-C now --->
> All I see is the (lldb) prompt return. But clearly my inferior is not stopped by
> the tracer:
> $ cat /proc/1996/status
> Name: hello
> State: R (running)
> Tgid: 1996
> Pid: 1996
> PPid: 1989
> TracerPid: 1995
> So is Control-C the correct command? In which case I imagine I've found a
> Can someone answer this simple question?
> Matthew Gardiner
> 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
> New for 2014, you can now access the wide range of products powered by
> aptX at www.aptx.com.
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
More information about the lldb-dev