Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Switch ARM, SPARC and i386 to generic dummy frames (PC_IN_CALL_DUMMY)?
@ 2002-04-14  7:51 Andrew Cagney
  2002-04-14  8:18 ` Daniel Jacobowitz
  2002-04-15  0:51 ` Peter.Schauer
  0 siblings, 2 replies; 8+ messages in thread
From: Andrew Cagney @ 2002-04-14  7:51 UTC (permalink / raw)
  To: gdb

Hello,

If I remember one of those unwritten ``grand plans'' correctly, the 
intent is to have all targets switched to ``generic dummy frames''.  True?

Among other things, generic dummy frames do not save/restore registers 
on the target stack (instead they are cached locally) and this should 
improve the overall performance of an inferior function call.

Anyway, the thing that prompts this is PC_IN_CALL_DUMMY(PC, SP, FP). 
There are several implementations.  Only two:

- generic: looks for the FP in the list of dummy frames
- stack: looks for PC in [FP..SP)

require the SP/FP parameters.  I've a patch to fix the first one (search 
for the PC).  If the ARM, SPARC and i386 can switch to generic dummy 
frames then those parameters can be eliminated and all calls simplified.

Any chance of having these converted?

Andrew


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

end of thread, other threads:[~2002-04-15 13:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-14  7:51 Switch ARM, SPARC and i386 to generic dummy frames (PC_IN_CALL_DUMMY)? Andrew Cagney
2002-04-14  8:18 ` Daniel Jacobowitz
2002-04-14  8:33   ` Andrew Cagney
2002-04-14  8:53     ` Daniel Jacobowitz
2002-04-14  9:40       ` Andrew Cagney
2002-04-14 10:17         ` Daniel Jacobowitz
2002-04-15  0:51 ` Peter.Schauer
2002-04-15  6:42   ` Andrew Cagney

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