Re: Xcode-users Digest, Vol 3, Issue 436
Re: Xcode-users Digest, Vol 3, Issue 436
- Subject: Re: Xcode-users Digest, Vol 3, Issue 436
- From: Kurt Sutter <email@hidden>
- Date: Wed, 21 Jun 2006 19:50:00 +0200
I wonder if renaming that global var would solve the problem -- it
did for me... (BTW, I don't have any "function points", but "class
pointers" in that global var.)
At 4:48 -0700 21.06.06, email@hidden wrote:
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