[patch rfc] Lazy frame ID evaluation

Andrew Cagney ac131313@redhat.com
Thu Mar 27 02:19:00 GMT 2003


Hello,

Ref: Lazy get_frame_id()
http://sources.redhat.com/ml/gdb/2003-03/msg00243.html

The attached delays the computation of the frame ID until when it is 
needed.  Doing this (at least for targets using new frames) reduces the 
overhead of creating the initial frame - it avoids the need to do any 
prologue analysis until it is actually needed.

The follow on change is to exploit this in infrun.c, by using 
get_frame_type (get_current_frame ()) instead of PC_IN_SIGTRAMP() and 
PC_IN_DUMMY_FRAME().  They'll follow as separate changes.

Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030327/0693d4b7/attachment.ksh>


More information about the Gdb-patches mailing list