This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


On Tue, May 08, 2001 at 02:40:22PM -0400, Elena Zannoni wrote:
>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.

I'd nuke this but leave the wince targets around for a little longer in
case someone actually has the nerve to fix this in the future.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]