Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Richard.Earnshaw@arm.com
Cc: gdb@sources.redhat.com
Subject: Re: Moving to GDB_MULTI_ARCH_PARTIAL
Date: Fri, 08 Feb 2002 07:19:00 -0000	[thread overview]
Message-ID: <3C63EC76.3000704@cygnus.com> (raw)
In-Reply-To: <200202080938.JAA27192@cam-mail2.cambridge.arm.com>

> this suggests REGISTER_CONVERTIBLE doesn't need to be immediatly
>> converted.
> 
> 
>> However, it also explains why, at level one, it isn't strict about
>> overriding macros.  Given a case like the i386, the base cpu may be
>> multi-arched but the variants (tm-ptx.h and tm-symmetry.h) may not.
>> This again lets them continue to build and work. 
> 
> 
> 
> So if they can continue to work with the existing definitions, why aren't 
> REGISTER_CONVERTIBLE and PUSH_ARGUMENTS level 2?


(I'm currently going through and reviewing these - I've found two other 
candidates: PUSH_RETURN_ADDRESS (bug) and CALL_DUMMY_LOCATION (not a bug))

It is historic.  The very original gdbarch.sh was an all or nothing 
afair - the developer had to convert every single macro before they 
could turn on multi-arch.  Strangly (:-^) this got serious push back. 
The process was changed to be tolerant to partially multi-arch targets. 
  A few artifacts from the old way still linger.  When someone notices 
they get tweeked.

thanks for the pointers,
Andrew


      reply	other threads:[~2002-02-08 15:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-06  9:21 Richard Earnshaw
2002-02-07 19:45 ` Andrew Cagney
2002-02-07 23:08   ` Andrew Cagney
2002-02-08  1:38     ` Richard Earnshaw
2002-02-08  7:19       ` Andrew Cagney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C63EC76.3000704@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox