I get the following error when loading a C++ program built with gcc 3.4 and binutils 2.13 into gdb 6.1 (built with the same tools) on Solaris 7. Are gdb 6.1 and gcc 3.4 known not to work well together or is there something I'm missing (some special gcc or gdb setup, perhaps)?
Thanks Martin
GNU gdb 6.1
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.7"...
dwarf2-frame.c:1081: 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)