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
At 18:50 +0200 19.06.06, Henrik Dalgaard wrote:
I have run into this one too. After a good final release, I thought it would be a good time to upgrade XCode to version 2.3.
The same assertion in GDB fails for me:
/SourceCache/gdb/gdb-477/src/gdb/varobj.c:2007: internal-error: my_value_equal: Assertion `!value_lazy (val1)' failed.
I have tried:
Uninstalled and reinstalled XCode with reboots in between - in case my upgrade from 2.2 had done something bad.
Symbol formats: stabs, DWARF and DWARF with dSym. No difference.
Returned my project settings to the same as those in a brand new Cocoa Document Based Application.
Tried to download and build gdb from:
The make file generated by gdb-477/src/gdb/configure failed at libiberty.a with Error 1
Did any of you find a solution?
System: iMac Core Duo - my code is Objective C (no ++).
Henrik