[Converted from Gnats 1681] Error message in GDB:- gdb+dejagnu-20040618/gdb/gdbtypes.c:528: internal-error: make_cv_type: Assertion `TYPE_OBJFILE (*typeptr) == TYPE_OBJFILE (type) || TYPE_STUB (*typeptr)' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y Release: GNU gdb 20040618 Environment: C language, AIX 4.3.3.0, gdb built with gcc 2.95.2.1 no CFLAGS, and LDFLAGS of "-Xlinker -bbigtoc" (not that it makes any difference). How-To-Repeat: Debugging my program that calls a function held within a shared library, and passes in a pointer to a structure. When I step into said function, and attempt to print the contents of the structure "print *pMyStruct", I get the above error. If I link my library statically with my program, I don't get the error, and the structure prints out just fine. Note that this works OK with gdb v5.2.
Hopefully fixed with newer version, not enough info to confirm. Please reopen with reproducer if not, and assign to me.
*** Bug 8275 has been marked as a duplicate of this bug. ***