This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc]: Use trad_frame_alloc_saved_regs in alpha-tdep
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: deuling at de dot ibm dot com
- Cc: gdb-patches at sourceware dot org, uweigand at de dot ibm dot com
- Date: Mon, 18 Feb 2008 20:35:36 +0100 (CET)
- Subject: Re: [rfc]: Use trad_frame_alloc_saved_regs in alpha-tdep
- References: <47B2A053.30307@de.ibm.com>
> Date: Wed, 13 Feb 2008 08:46:27 +0100
> From: Markus Deuling <deuling@de.ibm.com>
>
> This patch makes alpha-tdep use trad_frame_alloc_saved_regs. I'd
> appreciate it very much if someone with access to an alpha machine
> could run the testsuite.
This causes significant regressions on OpenBSD/alpha. I'll see if I
can figure out what's going wrong later this week.
> ChangeLog:
>
> * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
> trad_frame_saved_reg. Remove return_reg.
> (trad-frame.h): New include.
> (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
> instead of frame_obstack_zalloc.
> (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.
>
> * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.