• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: LLDB: evaluating expressions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LLDB: evaluating expressions


  • Subject: Re: LLDB: evaluating expressions
  • From: Chris Lattner <email@hidden>
  • Date: Tue, 17 Jul 2012 21:13:34 -0700

On Jul 17, 2012, at 2:06 PM, Tom Seddon wrote:

> I'm having problems with lldb not evaluating a simple expression:
>
> ---8<---
> (lldb) p header
> (const char *) $16 = 0x0080000c "fmt \x10"
> (lldb) p data
> (const char *) $17 = 0x00800000 "RIFF\xfe|\x04"
> (lldb) p header-data
> error: error: reference to 'id' is ambiguous
> note: candidate found by name lookup is 'id'
> note: candidate found by name lookup is 'id'
> error: 1 errors parsing expression
> ---8<---
>
> I thought maybe the debugger won't subtract two pointers, for some reason, but not so:
>
> ---8<---
> (lldb) p (char *)0x80000c-(char *)0x800000
> (int) $26 = 12
> ---8<---
>
> Am I doing something wrong?
>
> If not, is there anything I can I do to (try to) figure out what lldb's problem is?

What version of LLDB are you using?  If at all possible, using the Xcode 4.4 seed is recommended.  The final release is planned for this month.

-Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: LLDB: evaluating expressions
      • From: Tom Seddon <email@hidden>
References: 
 >LLDB: evaluating expressions (From: Tom Seddon <email@hidden>)

  • Prev by Date: LLDB: evaluating expressions
  • Next by Date: Re: linking launch.h on 10.4
  • Previous by thread: LLDB: evaluating expressions
  • Next by thread: Re: LLDB: evaluating expressions
  • Index(es):
    • Date
    • Thread