This is the mail archive of the gdb-patches@sourceware.cygnus.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: [PATCH]: Make Sparc Target Multi-Arch


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

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