Re: [PATCH RFC] DWARF2 CFI exploitation for Linux on S/390

Hans-Peter Nilsson
2002-09-30T15:24:21Z

On Mon, 30 Sep 2002, Michal Ludvig wrote:
> Andrew Cagney wrote:
>
> > The CFI code needs to be updated
> > to work with that interface, and also work with the current
> > regcache.[hc] interface.
>
> What needs to be done for this in general?

I have patches in progress that fixes cross-debugging endian
problems (currently it copies target addresses bitwise and
compares it to endian-adjusted data), completely missing
DWARF2_REG_TO_REGNUM mapping and a bug that sets the PC for all
frames as the last frame. Those issues might be what's referred
to. More about that in a day or two.

I have no way to test them (no x86-64 here) other than a
port-in-progress. Suggestions how to test dwarf2cfi.[hc]
changes welcome.

Maybe I should mention that I *really like* the presence of
dwarf2-interpreting machinery. Takes a lot of work on frame
stuff away for a port. Thanks!

brgds, H-P