• 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 says: internal-error...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb says: internal-error...


  • Subject: Re: gdb says: internal-error...
  • From: Cem Karan <email@hidden>
  • Date: Wed, 21 Jun 2006 07:46:33 -0400

Actually, while I don't have any function pointers, I *DO* have a pointer that points back to a global. In my case, I'm working in C for an embedded project, and I'm using a single global as a special, invalid object, and I allocate that as a static variable. If I hit that object, I know that I can't traverse it. So maybe GDB is having problems with accessing globals and file static variables...

Thanks,
Cem Karan

On Jun 20, 2006, at 11:26 PM, Kurt Sutter wrote:

I have found a solution, sort of.

gdb did not fail immediately while stepping through my application, but only once the application accessed a certain global variable. That variable was an array of class pointers called functionList[100].

I tried many things to get gdb working again. A last desperate attempt was to rename that variable from functionList to ffunctionList -> that made gdb work again.

Search me why.

I doubt that you have a global var called functionList, but maybe you can use a similar approach.

Good luck
Kurt Sutter
_______________________________________________
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: 
 >Re: gdb says: internal-error... (From: Henrik Dalgaard <email@hidden>)
 >Re: gdb says: internal-error... (From: Kurt Sutter <email@hidden>)

  • Prev by Date: asm instruction CVTSI2SS fails to compile
  • Next by Date: Re: asm instruction CVTSI2SS fails to compile
  • Previous by thread: Re: gdb says: internal-error...
  • Next by thread: Re: gdb says: internal-error...
  • Index(es):
    • Date
    • Thread