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/1618: Invalid or unsupported encoding (sparc-sun-solaris2.8)


>Number:         1618
>Category:       gdb
>Synopsis:       Invalid or unsupported encoding (sparc-sun-solaris2.8)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 22 07:18:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     tkemmer@hyperwave.com
>Release:        GNU gdb 6.1
>Organization:
>Environment:
SunOS hwss03 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-4
gcc version 3.2.3
This GDB was configured as "sparc-sun-solaris2.8".
>Description:
Using gdb-6.1 on Solaris 2.8 (Sparc), I cannot debug any of my binaries, since I get one of the following errors:

../../gdb/dwarf2-frame.c:1111: internal-error: Invalid or unsupported encoding

../../gdb/dwarf2-frame.c:1081: internal-error: Unsupported encoding: DW_EH_PE_indirect

I use gcc-3.2.3, mostly C++.

As a work around, I commented out the call to dwarf2_build_frame_info in elfread.c, which seems to solve the problem.
>How-To-Repeat:

>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]