This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] mn10300: Add am33 support
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: kevinb at redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 3 Sep 2005 12:03:30 +0200 (CEST)
- Subject: Re: [rfc] mn10300: Add am33 support
- References: <20050902183118.05e24025@ironwood.lan>
> 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