[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".
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
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
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.
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.
I think this was fixed ages ago -- in 6.4. If it still fails, please reopen this bug. Thanks.