This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Bug in Dwarf2 .debug_frame section [RE: Gcc 3.0 and ARM Stack fram e]


On Thu, Sep 27, 2001 at 06:43:09PM -0700, Fabrice Gautier wrote:
> I don't know if you (or maybe somebody else) is using the Arm debugger
> (AXD from ADS v1.1 in my case) to test ...

I don't do any ARM work at all, actually.

> 1/ Hack the backend not to need negative offset and go against the dwarf
> spec (ie factorise the offset) but in this case i'm not even sure if axd
> would behave itself as i guess it would

I'm against this.

> 2/ hack the arm back end so that it doesn't need offsets at all

This might be possible; I don't know what other relevant ARM coding 
standards might be affected.  Richard Earnshaw would know.

> 3/ hack the dwarf layer so that instead of coding an offset for the cfa it
> just remove the offset and adjust all the register with this offset... (this
> should be possilbe in my particular case here but may be not in all cases) 

This isn't possible in general, since without the offset from the
register to the CFA, offsets elsewhere would not be representable
with unsigned scaled quantities.

The final alternative is of course to file a bug report against
AXD and hope it gets fixed.


r~


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