Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* frame cache
@ 2007-07-24 17:08 Michael Eager
  2007-07-24 17:14 ` Michael Eager
  2007-07-24 17:17 ` Daniel Jacobowitz
  0 siblings, 2 replies; 17+ messages in thread
From: Michael Eager @ 2007-07-24 17:08 UTC (permalink / raw)
  To: gdb

I have a couple questions about the <target>_frame_cache
structure and functions.

1)  This appears to be a single-entry cache.  Why not keep
     multiple entries?

2)  The data in the frame cache seems to be of two different
     types:
     a)  Fixed, based on analyzing the code: register offsets,
         stack alignment, framelessness, etc.
     b)  Variable, based on the call: return pc, frame base

     It looks to me that the object code is analyzed repeatedly
     and this fixed information is discarded along with the
     variable information.

     Why not keep a persistent cache of function specific fixed
     data and only discard the call-specific data when the frame
     cache is cleared?

Is there any documentation about what target-specific data
the frame cache is supposed to contain or how the functions are
supposed to work?


-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


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

end of thread, other threads:[~2007-07-31  1:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-24 17:08 frame cache Michael Eager
2007-07-24 17:14 ` Michael Eager
2007-07-24 17:36   ` Daniel Jacobowitz
2007-07-24 18:19     ` Michael Eager
2007-07-24 18:34       ` Daniel Jacobowitz
2007-07-24 18:34       ` Mark Kettenis
2007-07-24 17:17 ` Daniel Jacobowitz
2007-07-24 18:10   ` Michael Eager
2007-07-24 18:22     ` Daniel Jacobowitz
2007-07-24 18:45       ` Michael Eager
2007-07-24 18:45     ` Mark Kettenis
2007-07-24 19:08       ` Michael Eager
2007-07-25  2:18         ` Paul Koning
2007-07-27  9:18         ` Wenbo Yang
2007-07-30 22:01           ` Michael Eager
2007-07-30 23:07             ` Mark Kettenis
2007-07-31  3:51             ` Wenbo Yang

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