On Tue, 2005-10-25 at 01:08, Christophe LYON wrote: > On occasions, I wonder whether it wouldn't make sense to generate > different infos in debug_frame and eh_frame:
That is probably a reasonable solution if it can be implemented cleanly. There are already some differences. debug_frame info can contain unaligned data, but for eh_frame we try to avoid this, because some targets which aren't native DWARF2 users may lack the necessary relocs. There are also already other differences. The long term solution here is to get gdb to start using debug_frame info exclusively, instead of disassembling prologues as it does now for most targets. Then, people will start caring more about the accuracy of the debug_frame info than its size, and gcc will be fixed to emit full debug_frame info, including for the epilogue. Until then, if you want something fixed in the debug_frame info, you will probably have to fix it yourself. -- Jim Wilson, GNU Tools Support, http://www.specifix.com