Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* allowing target to say which regs are pseudo regs
@ 2001-04-05  9:56 Doug Evans
  2001-04-06 11:19 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Evans @ 2001-04-05  9:56 UTC (permalink / raw)
  To: gdb

Would it make sense to allow a target to say which regs are pseudo regs?

i.e. make real_register() and pseudo_register() architecture-provided routines
[well, to be more precise, you'd just have one routine of course]

It seems rather clumsy to force a target to have registers
[0,NUM_REGS) be "real" regs and [NUM_REGS,NUM_REGS+NUM_PSEUDO_REGS)
be "pseudo" regs.  What's the difference other than
targets get to provide their own read/write routines for pseudo regs?

One would want to replace NUM_REGS and NUM_PSEUDO_REGS with
just NUM_REGS [or some such], and there'd be a set of corresponding
changes throughout the sources.


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

end of thread, other threads:[~2001-04-06 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-05  9:56 allowing target to say which regs are pseudo regs Doug Evans
2001-04-06 11:19 ` Andrew Cagney

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