This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [hppa] FYI: confusion in unwind descriptor field meaning
Joel Brobecker wrote:
>>Be careful here, some of this is to work around gcc's interpretation of
>>these fields, which does not always correspond to the documentation. gcc
>>only uses a few of the bits in the unwind record.
>
> Grumble.
>
> Yes, I know. It's the reason why I never got around to submit the few
> changes we made locally. Our GCC has some local changes that make the
> unwind descriptor more compatible between the two models. I am still
> asking the details to the hppa specialist at AdaCore, but it seems
> that starting with GCC 3.4, the frame was setup in a more compatible
> way already. If you're interested, I'll let you know the details of
> our implementation.
Well, I think we need to work with upstream gcc. I know Dave has done
some work to improve this with more recent versions of gcc.
Let's try to document all the variations of compilers we claim to work
with (gcc-3.x, gcc-4.x, HP aCC, etc) and we'll try to come up with
something that works "everywhere".
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/