This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: delete non-multi-arch SPARC code?
On Fri, Jun 27, 2003 at 01:52:05PM -0700, Michael Snyder wrote:
> Andrew Cagney wrote:
> >>Andrew Cagney wrote:
> >>Hello,
> >>
> >>The sparc codebase contains lots of #ifdef not-multi-arch code. Can
> >>anyone think of a reason to not simply delete it?
> >>
> >>I'm talking mainline, not 6.0 branch mind :-)
> >>
> >>Can you be more specific? I don't find anything like "ifdef
> >>not-multi-arch" in sparc-tdep.c.
> >
> >
> >It's all in config/sparc/tm*.h.
>
> Still not with you...
> cd gdb/config/sparc
> grep ifdef tm*.h
> <nothing>
Most of those macros override multi-arch ones just by being defined...
but:
#if defined (GDB_MULTI_ARCH) && (GDB_MULTI_ARCH > 0)
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer