[lldb-dev] Interpretation of GDB-RSP step commands

Matthew Gardiner mg11 at csr.com
Tue Aug 19 05:59:59 PDT 2014

Sorry, I should have been more direct in this post...

Does anyone actually know the difference in the GDB-RSP i and s commands?

I'd welcome your insight.


Matthew Gardiner wrote:
> Hi Folks,
> I'm poring over the gdb pdf trying to understand the difference 
> between the s and i commands.
> After chatting with a colleague we came up with 2 ideas:
> 1. i means a single instruction step, and s is an instruction step but 
> step over CALL instructions.
> OR
> 2. i means advance the clock once, i.e. by a single word in a 
> multi-word instruction. And s means a single instruction step.
> All comments welcome!
> thanks
> 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
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
> To report this email as spam click 
> https://www.mailcontrol.com/sr/SLxusfELbczGX2PQPOmvUjg7ce8j6mWJ4GmDxhB89llOaJtRI!liNxCHjGJhJAM3g+rZVLhWkBsJwVIOzJj0SQ== 
> .

More information about the lldb-dev mailing list