This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH]: Make Sparc Target Multi-Arch
- To: Michael Snyder <msnyder at cygnus dot com>
- Subject: Re: [PATCH]: Make Sparc Target Multi-Arch
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 04 May 2000 14:48:33 +1000
- CC: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>, gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <200005030843.KAA15198@reisser.regent.e-technik.tu-muenchen.de> <3910741B.12FB@cygnus.com>
Michael Snyder wrote:
> Hmm, perhaps not impossible, but not trivial. The gdbarch structs
> get set up one time. You'd have to change them on the fly.
>
> As this user-selectability is an enhancement, how about if I make
> it ON_STACK for 32, AT_ENTRY_POINT for 64, and check it in? It
> will be no worse for 32 than it is now, and much better for 64
> (not to mention the 32/64 combo). Then whoever wants to can
> investigate making ON_STACK a user option for 32 at leisure.
It could be made to work. Its implementation would most likely be
similar to ``set endian'' or ``set architecture''. However, as you
suggest, best left as an exercise for the reader.
Andrew