Re: gdb says: internal-error...
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