This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] update alpha-osf to new value-based unwinding
Hi Ulrich,
> If you have a way of testing on that platform, would you mind
> testing the following patch? This switches alpha-mdebug-tdep.c
> to use trad-frame instead of relying SIZEOF_FRAME_SAVED_REGS;
> if this is in, we can finally get rid of that macro ...
Nice! Sorry for my late reply, but the machine where I built
everything had a HD failure, and so I had to redo everything
from scratch on another machine. Since our Tru64 machines are
not exactly race cars....
> * alpha-mdebug-tdep.c: Include "trad-frame.h".
> (struct alpha_mdebug_unwind_cache): Change type of SAVED_REGS to
> struct trad_frame_saved_reg *.
> (alpha_mdebug_frame_unwind_cache): Allocate SAVED_REGS using
> trad_frame_alloc_saved_regs. Update accesses. Record previous
> value of SP as being vfp.
> (alpha_mdebug_frame_prev_register): Use trad_frame_get_prev_register.
> * Makefile.in (alpha-mdebug-tdep.o): Update dependencies.
According to our testsuite, there was no regression found.
I think that shows that the changes are sane.
--
Joel