This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Proper _to_regnum for DWARF on Cygwin


Brian Ford <ford@vss.fsi.com> writes:
> I'm seriously considering reverting that change.  I believe my original
> gut feeling was correct before Jim Blandy convinced me otherwise.
> Comments before I post the patch to do so?

Well, my argument is weaker now that we know DJGPP uses different
numberings.  I was simply saying that GCC, for a specific target,
almost always uses the same register numbering in both STABS and Dwarf
2.  So I viewed the fact that Dwarf 2 always uses the svr4 numbering
as a mere consequence of other conditions:
- Dwarf 2 has only been widely used on ELF-based systems, and
- ELF systems, unsurprisingly, use the svr4 numbering.

But now that we know DJGPP actually does use different numberings
depending on the debug format, that's a genuine conflicting
precedent.  So I can see going either way.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]