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
On Fri, Nov 11, 2005 at 10:04:26PM -0800, Joel Brobecker wrote:
> I think this begs for an experiment, which I hope I'll be able to make
> sometime during the winter. I can start with the code we have, since
> we already have a lot of code that analyzes the prologue, and see how
> to reconstitute the information we would otherwise get from the unwind
> record.
If you're going to do this, I recommend using the prologue analysis
framework Jim posted, which hopefully we'll have merged by then. If we
haven't, well, an active user of it will make it easier.
> Randolph I think raised a very good point regarding the computation
> of the end of the prologue, though. I don't know if we can determine
> this without the help of the unwind record. For this, I don't have
> enough experience with that chip.
A good prologue analyzer may just want to go until it sees something
confusing. Depending on the peculiarities of the architecture, this
may be enough.
--
Daniel Jacobowitz
CodeSourcery, LLC