Re: DOS/Windows-specific code: sh-tdep.c and sh3-rom.c

Elena Zannoni
2001-05-08T11:40:00Z

Eli Zaretskii writes:
> > From: Elena Zannoni <ezannoni@cygnus.com>
> > Date: Tue, 8 May 2001 10:49:02 -0400
> >
> > Eli Zaretskii writes:
> > >
> > > * sh-tdep.c:
> > >
> > > #if 0
> > > #ifdef _WIN32_WCE
> > > char **sh_register_names = sh3_reg_names;
> > > #else
> > > char **sh_register_names = sh_generic_reg_names;
> > > #endif
> > > #endif
> > >
> > > It seems we could simply remove this, since it's disabled anyway.
> > >
> >
> > Ah, yes. Chris wrote that, and I disabled it when I multiarched the
> > sh. Maybe it can be done now in a different way.
>
> Do I understand correctly that this can be removed?
>

Don't know. I see it comes from config/mips/wince.mt, config/arm/wince.mt,
and config/sh/wince.mt

The arm and mips definitions seem superfluous, because its only use is
in sh-tdep.c, so I would eliminate those, it should have no effect.

Am not sure if the sh wince target (or any of the wince targets) is
still alive.

Elena