[lldb-dev] lldb command help broken?

Matthew Gardiner mg11 at csr.com
Wed Oct 1 01:24:08 PDT 2014


Cool, thanks Colin!

I'm sure I know that one once - but I think that my grey matter is going
stale or something!

Matt

On Wed, 2014-10-01 at 09:11 +0100, Colin Riley wrote:
> Hey Matt - It's the other way round;
> 
> help <command>
> 
> i.e.:
> 
> (lldb) help memory write
>     Write to the memory of the process being debugged.
> 
> Syntax: memory write <cmd-options> <address> <value> [<value> [...]]
> 
> Command Options Usage:
>    memory write [-f <format>] [-s <byte-size>] <address> <value> 
> [<value> [...]]
> 
> Cheers,
> Colin
> 
> On 01/10/2014 08:37, Matthew Gardiner wrote:
> > Hi,
> >
> > If I try to invoke the help on a memory/register lldb refuses to
> > cooperate if I have no target loaded:
> >
> > (lldb) memory write help
> > error: invalid target, create a target using the 'target create' command
> > (lldb) memory read help
> > error: invalid target, create a target using the 'target create' command
> > (lldb) register read help
> > error: invalid target, create a target using the 'target create' command
> > (lldb)
> >
> > Is this a bug? (It must me... surely we can print help for commands in a
> > target agnostic way...)
> >
> > 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
> 





More information about the lldb-dev mailing list