Mail Archives: djgpp-workers/2004/12/07/11:20:56
On Tuesday 07 December 2004 18:03, DJ Delorie wrote:
> > > What is the patch you need?
> >
> > It's not in official sources. All DWARF2 related stuff is only on our own
> > changes.
> >
> > For last tests I defined
> > #define DBX_REGISTER_REGNUM(n) svr4_dbx_register_map[n]
> > and removed definition of DWARF_FRAME _REGNUM so it's defaults
> > to DBX_REGISTER_REGNUM(n).
>
> So... we're just renumbering dwarf registers? Is our incompatible
> scheme compatible with linux? That would be the only non-technical
> reason for such a change.
Above mentioned way is compatible. My previous one was not.
After recompiling my own sources (not C++ libraries) I got problems
with C++ exceptions (for example exception was not catched). However
I need more testing perhaps after rebuilding libraries, which I used.
Also incompatible scheme breaks GDB backtrace command, at least for
GDB-6.3. After fixing the problem with djgpp.h, also problem with GDB
disappears.
> I think, if we need to break compatibility, we should plan on
> coordinating the libc 2.04 release with a gcc 4.0 release, and make
> the changes for that. At least we'd stand a better chance of getting
> everything that way.
In that case we'll have to notice that new GDB versions will perhaps not
work with GCC-3.X. So I think we may need to consider updating gcc-3.X.
Andris
- Raw text -