Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* delete non-multi-arch SPARC code?
@ 2003-06-27 13:44 Andrew Cagney
  2003-06-27 17:56 ` Michael Snyder
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cagney @ 2003-06-27 13:44 UTC (permalink / raw)
  To: gdb-patches

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 :-)

Andrew


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: delete non-multi-arch SPARC code?
  2003-06-27 13:44 delete non-multi-arch SPARC code? Andrew Cagney
@ 2003-06-27 17:56 ` Michael Snyder
  2003-06-27 18:56   ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Snyder @ 2003-06-27 17:56 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb-patches

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.

Michael



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: delete non-multi-arch SPARC code?
  2003-06-27 17:56 ` Michael Snyder
@ 2003-06-27 18:56   ` Andrew Cagney
  2003-06-27 20:52     ` Michael Snyder
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cagney @ 2003-06-27 18:56 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches

> 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.

Andrew



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: delete non-multi-arch SPARC code?
  2003-06-27 18:56   ` Andrew Cagney
@ 2003-06-27 20:52     ` Michael Snyder
  2003-06-27 20:57       ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Snyder @ 2003-06-27 20:52 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb-patches

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>




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: delete non-multi-arch SPARC code?
  2003-06-27 20:52     ` Michael Snyder
@ 2003-06-27 20:57       ` Daniel Jacobowitz
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2003-06-27 20:57 UTC (permalink / raw)
  To: Michael Snyder; +Cc: Andrew Cagney, gdb-patches

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-06-27 20:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-27 13:44 delete non-multi-arch SPARC code? Andrew Cagney
2003-06-27 17:56 ` Michael Snyder
2003-06-27 18:56   ` Andrew Cagney
2003-06-27 20:52     ` Michael Snyder
2003-06-27 20:57       ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox