internal-error using gdb on sparc-sun-solaris2.8

Christopher Currie christopher@currie.com
Wed Jan 21 21:56:00 GMT 2004


Gentlemen,

We've been running into a problem using GDB on Solaris 2.8, and we're at 
a loss getting around it. Our application and our unit tests all seem to 
exhibit the same problem. Here's a sample run:


$ gdb unittest
GNU gdb 2004-01-21-cvs
Copyright [ etc.. ]
This GDB was configured as "sparc-sun-solaris2.8"...
dwarf2-frame.c:1092: internal-error: Invalid or unsupported encoding
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

dwarf2-frame.c:1092: internal-error: Invalid or unsupported encoding
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
Abort (core dumped)


The line within dwarf2-frame.c varies with each application, but the 
behavior is consistent. We've tried building apps with GCC 3.3.2, both 
with the GNU binutils and the native Solaris utils. We've also tried 
building using -gstabs, but we get the same error, although sometimes at 
a different line in dwarf2-frame.c.

Is this a GCC bug, or a GDB problem? I'm sorry I can't be more detailed 
or provide a stack trace at this time, but the software is on a closed 
network and getting data out is problematic.

Thanks in advance,
Christopher Currie



More information about the Gdb mailing list