This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/1681: gdbtypes.c:528 internal-error make_cv_type AIX4.3.3 gcc C


>Number:         1681
>Category:       gdb
>Synopsis:       gdbtypes.c:528 internal-error make_cv_type AIX4.3.3 gcc C
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 18 12:58:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     dave.roberts@saaconsultants.com
>Release:        GNU gdb 20040618
>Organization:
>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).
>Description:
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
>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.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]