This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb frame.c ChangeLog
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 9 Sep 2009 17:39:23 -0000
- Subject: src/gdb frame.c ChangeLog
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sourceware.org 2009-09-09 17:39:23
Modified files:
gdb : frame.c ChangeLog
Log message:
Avoid quadratic behavior when computing the value of a register.
* frame.c (frame_stash): New static constant.
(frame_stash_add, frame_stash_find, frame_stash_invalidate):
New functions.
(get_frame_id): Minor reformatting. Add the frame to the frame stash.
(frame_find_by_id): Search the frame stash first before walking all
frames starting from te current_frame.
(reinit_frame_stash): Add call to frame_stash_invalidate ();
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/frame.c.diff?cvsroot=src&r1=1.272&r2=1.273
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10855&r2=1.10856