Or use po

*(lldb) **p (char *)object_getClassName($eax)*

(char *) $4 = 0x020255e8 "__NSCFConstantString"

*(lldb) **po $eax*

abc


On Thu, Jan 2, 2014 at 11:14 AM, Greg Clayton <[email protected]> wrote:

> Yes, it is possible. In the expression parser, all registers are available
> if you prepend the register name with '$'. So as Enrico already suggested,
> you can do:
>
> (lldb) expr (NSString *)$rdx
>
> On Nov 28, 2013, at 2:43 PM, Vincent R. <[email protected]> wrote:
>
> > Hi,
> >
> > I am using xcode5 to debug an application and I would like to know the
> NSstring value stored inside the %rdx register.
> > Is it possible to do that ?
> >
> > Thanks
> > _______________________________________________
> > 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
>
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to