This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: SH patch 1 (was Re: [RFA] SH: Deprecate deprecated functions, use new frame interface)
On Tue, Sep 16, 2003 at 10:25:40AM -0400, Elena Zannoni wrote:
> Corinna Vinschen writes:
> > On Fri, Sep 12, 2003 at 01:40:58PM -0400, Elena Zannoni wrote:
> > > Seems ok, but....could you split the renaming of insn to inst and
> > > removal of tdep into a separate patch, and repost the 2 patches?
> > > I.e. the renaming/tdep and the real cleanups after that. It's not easy
> > > to see what's going on with this diff.
> > >
> > > thanks
> > > elena
> >
> > Ok, this is the first patch which consists entirely of pure
> > mechanical changes...
> >
>
> Ah, much easier. Thanks, yes.
Thanks, I've applied this first part of the patch.
Corinna
> > * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register
> > numbers to enumeration values.
> > * sh-tdep.c: Accomodate above change.
> > (SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS.
> > (NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only).
> > (NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only).
> > (IS_ADD_IMM_SP): Rename from IS_ADD_SP.
> > (IS_FPUSH): Rename from IS_FMOV.
> > (sh_extract_struct_value_address): Remove useless comment.
> > (sh_dsp_register_sim_regno): Use register values from sh-tdep.h
> > instead of own local values.
> > (sh_dump_tdep): Remove.
> > (_initialize_sh_tdep): Accomodate removing sh_dump_tdep.
> > * sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes.
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.