There isn't an equivalent of "info sources" yet.

There is a rough equivalent of "info line" (listed in the gdb->lldb cheat sheet 
at http://lldb.llvm.org/lldb-gdb.html), which is to do:

(lldb) image lookup -va $pc
     ...
     LineEntry: [0x000000010001a98e-0x000000010001a99f): /Work/Foo.c:11
     ...

It isn't as good as "info line" because it only gives the address range from 
the given source line that surrounds the address passed to the lookup command.  
It doesn't answer the question "what are ALL the address ranges that contribute 
to the implementation of this source line?"

Hope this helps, 

Jim


On Sep 3, 2013, at 4:58 PM, Yin Ma <[email protected]> wrote:

> Hi,
>  
> Could anyone let me know what is the lldb command
> to show all source files like gdb info sources and
> the command to show the source file info of the
> current $pc location?
>  
> Thanks,
>  
> Yin
>  
> _______________________________________________
> lldb-dev mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to