Bug 9037 - dwarf2-frame.c:1071: internal-error: Unsupported encoding: DW_EH_PE_indirect
Summary: dwarf2-frame.c:1071: internal-error: Unsupported encoding: DW_EH_PE_indirect
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 6.2
: P3 enhancement
Target Milestone: 6.8
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-30 00:48 UTC by nrao
Modified: 2009-09-14 16:06 UTC (History)
4 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 nrao 2005-04-30 00:48:02 UTC
[Converted from Gnats 1932]

# /gdb32 a.out
GNU gdb 6.2
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
../../gdb/dwarf2-frame.c:1071: internal-error: Unsupported encoding: DW_EH_PE_indirect
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n

../../gdb/dwarf2-frame.c:1071: internal-error: Unsupported encoding: DW_EH_PE_indirect
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y

(gdb) quit

Release:
gdb 6.2.1

Environment:
#uname -a
SunOS sun 5.10 Generic sun4u sparc SUNW,Sun-Fire-V240

# /usr/local/bin/g++ -v
Reading specs from /usr/local/gcc/3.3.3/lib/gcc-lib/sparc-sun-solaris2.9/3.3.3/specs
Configured with: ../configure --prefix=/usr/local/gcc/3.3.3 --enable-languages=c,c++
Thread model: posix
gcc version 3.3.3

How-To-Repeat:
# /usr/local/bin/g++ -v
Reading specs from /usr/local/gcc/3.3.3/lib/gcc-lib/sparc-sun-solaris2.9/3.3.3/specs
Configured with: ../configure --prefix=/usr/local/gcc/3.3.3 --enable-languages=c,c++
Thread model: posix
gcc version 3.3.3

# gdb --version
GNU gdb 6.2
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8".
Comment 1 drow@false.org 2005-04-30 01:49:55 UTC
From: Daniel Jacobowitz <drow@false.org>
To: nrao@legato.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/1932: dwarf2-frame.c:1071: internal-error: Unsupported encoding: DW_EH_PE_indirect
Date: Fri, 29 Apr 2005 21:49:55 -0400

 On Sat, Apr 30, 2005 at 12:40:43AM -0000, nrao@legato.com wrote:
 > >Release:        gdb 6.2.1
 
 Please try a newer version of GDB, which should support this.  I don't
 know if 6.3 does or if you will need a CVS snapshot.
 
 -- 
 Daniel Jacobowitz
 CodeSourcery, LLC

Comment 2 lundgren 2005-05-09 19:57:38 UTC
From: "Andrew B. Lundgren" <lundgren@byu.net>
To: gdb-gnats@sources.redhat.com
Cc:  
Subject: Re: gdb/1932: dwarf2-frame.c:1071: internal-error: Unsupported encoding:
 DW_EH_PE_indirect
Date: Mon, 09 May 2005 13:57:38 -0600

 This error continues in GDB 6.4 and solaris 8.
 
 Commenting out line 594 in elfread.c :
 /*  dwarf2_build_frame_info (objfile); */
 allowed me to use the debugger without a problem.
 
 --
 Andrew

Comment 3 lundgren 2005-05-09 21:05:50 UTC
From: "Andrew B. Lundgren" <lundgren@byu.net>
To: gdb-gnats@sources.redhat.com
Cc:  
Subject: Re: gdb/1932: dwarf2-frame.c:1071: internal-error: Unsupported encoding:
 DW_EH_PE_indirect
Date: Mon, 09 May 2005 15:05:50 -0600

 That last note should have referred to GDB 6.3.  Typo.

Comment 4 Ramana Radhakrishnan 2005-08-10 07:32:56 UTC
From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
To: nrao@legato.com, gdb-prs@sources.redhat.com, nobody@sources.redhat.com,
        gdb-gnats@sources.redhat.com
Cc:  
Subject: Re: gdb/1932: dwarf2-frame.c:1071: internal-error: Unsupported
	encoding: DW_EH_PE_indirect
Date: Wed, 10 Aug 2005 13:02:56 +0530

 http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1932
 
 Please try this with current CVS head and let us know the status. I understand that 6.3 is broken but later versions might work.
Comment 5 Tom Tromey 2009-09-14 16:06:57 UTC
I think this was fixed ages ago -- in 6.4.
If it still fails, please reopen this bug.  Thanks.