From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; YComp 5.0.0.0; .NET CLR 1.0.3705) Description of problem: The installed version of libbfd.so cannot handle some object files generated by gcc 3.0. In particular, the function bfd_find_nearest_line will barf on some objects with the following error message: BFD: Dwarf Error: Invalid or unhandled FORM value: 14. Unfortunately, the function will abort with this error message rather than just return an error code, so there is no easy workaround. If you look at bfd/dwarf2.c in binutils-2.11.2 there is in fact no handler for DW_FORM_strp (14). This apparently has been fixed in binutils-2.13.2 so we should probably update to that. - David Version-Release number of selected component (if applicable): binutils-2.11.90.0.8-12.2 How reproducible: Always Steps to Reproduce: 1. Compile C program with gcc 3.0.2 and -g 2. Write program to open object bfd and call bfd_find_nearest_line 3. Run program on previously generated object file Additional info:
As a workaround, one answer might be to compile programs with -gstabs or -gstabs+ as a workaround. That would probably bypass the Dwarf-2 issues. gcc 3.x is not supported on AS 2.1 Only gcc 2.9x
There are several changes that would be needed in binutils and even more so in gdb, I don't think the changes are appropriate for AS2.1 at this point.