• 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: gdb: Symbolized Crash Report: One line spans multiple functions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb: Symbolized Crash Report: One line spans multiple functions?


  • Subject: Re: gdb: Symbolized Crash Report: One line spans multiple functions?
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 28 Dec 2009 18:25:26 -0600

On Dec 28, 2009, at 5:55 PM, Jerry Krinock wrote:

> Sorry, I forgot to shorten one of those class names for brevity.  Here's what I meant:
>
> Line 97 of "/Users/jk/Documents/Programming/Projects/Project1/ExtoreG+Loginner.m" starts at address 0xeb12d <-[ExtoreG(Loginner) logInWithInfo:]+884> and ends at 0xeb135 <-[ExtoreG(Loginner) errorLoggingIn]>.

This is just me guessing, but...

I think this is just an issue with describing ranges and their boundaries.  When you describe a range by its endpoints, each endpoint may be included in the range or not.  In English, it's pretty common to say "from a to b", "from a to b, inclusive", or "from a to b, exclusive" and the like.  In math, ranges can have open or closed boundaries -- for example, [0, 1) means the range from 0 to 1, including 0 but excluding 1.  The left end of the range is "closed", the right end is "open".

Anyway, I suspect gdb means the line generates instructions starting at and including address 0xeb12d and running to, but not including, 0xeb135.  Since 0xeb135 is the first instruction of -errorLoggingIn (there's no +xxx after the symbol name), this just means that line 97 runs until that method but not "into" it.

It's pretty common that functions have no-op instructions between them, which would normally avoid this adjacency, but maybe you just got unlucky.

Regards,
Ken

 _______________________________________________
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

References: 
 >gdb: Symbolized Crash Report: One line spans multiple functions? (From: Jerry Krinock <email@hidden>)
 >Re: gdb: Symbolized Crash Report: One line spans multiple functions? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: gdb: Symbolized Crash Report: One line spans multiple functions?
  • Next by Date: Re: gdb: Symbolized Crash Report: One line spans multiple functions?
  • Previous by thread: Re: gdb: Symbolized Crash Report: One line spans multiple functions?
  • Next by thread: Re: gdb: Symbolized Crash Report: One line spans multiple functions?
  • Index(es):
    • Date
    • Thread