Bug 8786 - gdbtypes.c:528 internal-error make_cv_type AIX4.3.3 gcc C
Summary: gdbtypes.c:528 internal-error make_cv_type AIX4.3.3 gcc C
Status: RESOLVED WORKSFORME
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 8275 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-18 12:58 UTC by dave.roberts
Modified: 2012-10-18 16:32 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dave.roberts 2004-06-18 12:58:00 UTC
[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.
Comment 1 Joel Brobecker 2012-10-18 16:06:06 UTC
Hopefully fixed with newer version, not enough info to confirm. Please reopen with reproducer if not, and assign to me.
Comment 2 Joel Brobecker 2012-10-18 16:32:40 UTC
*** Bug 8275 has been marked as a duplicate of this bug. ***