Mail Archives: djgpp-workers/2004/12/08/05:11:43
On Tuesday 07 December 2004 21:31, Eli Zaretskii wrote:
>
> I'm confused.  Could you please tell the entire history of the DWARF-2
> register numbering in DJGPP?  AFAIK, it didn't change since the first
> GCC version that supported DWARF-2 in DJGPP COFF executables, but you
> seem to imply that it already changed once, and that now we need to
> change it again.  What version(s) of GCC changed that?
>
> The only related change I'm aware of is the change in GDB which was
> made some time ago, to bring the DJGPP port of GDB in line with GCC
> and other x86 ports.  Again, you seem to say that we are now
> incompatible with GNU/Linux numbering?
There were problems (about 2 years ago) with C++ exceptions when DWARF2 
debugging information was requested. Some variant was found, that seemed to 
work Ok also with GDB, but only later was found that it was incorrect. As 
result we have had wrong register numbering there since release of first 
ports of DJGPP port of GCC-3.X.
So now I'm trying to fix up this mess. Biggest problem is that changing 
register numbering makes object files incomaptible. However perhaps only
C++ exceptions are affected. After rebuilding all C++ sources exceptions 
are catched normally.
Andris
- Raw text -