Re: [rfc] mn10300: Add am33 support

Mark Kettenis
2005-09-03T10:03:54Z

> Date: Fri, 2 Sep 2005 18:31:18 -0700
> From: Kevin Buettner <kevinb@redhat.com>
>
> The following patch adds am33 support to mn10300-tdep.c.
>
> This code has various authors. I believe that Andrew Cagney, Jackie
> Smith Cashion, Alex Oliva, and myself all had a hand in writing bits
> of it. All of the above authors are (or were at the time the code was
> written) covered by Red Hat's copyright assignment.
>
> Comments?
>
> * mn10300-tdep.c (am33_2_register_name): New function.
> (my_frame_is_in_sp, my_frame_is_in_fp, my_frame_is_last)
> (set_my_stack_size): Delete.
> (set_movm_offsets, set_reg_offsets): Rename the former to the
> latter. Update for handling am33.
> (mn10300_analyze_prologue): Update for handling am33. Also, make
> minor improvements in quality of prologue analysis.
> (mn10300_gdbarch_init): Add am33 support.
> * mn10300-tdep.h (E_NUM_REGS): Delete.
>

Please use safe_frame_unwind_memory instead of
deprecated_read_memory_nobpt. Otherwise this looks ok.

Cheers,

Mark