diff options
author | Joel Brobecker <brobecker@gnat.com> | 2009-09-09 17:39:21 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2009-09-09 17:39:21 +0000 |
commit | b83e9eb71cb4a21b31f8f47782da821a5a0ddb32 (patch) | |
tree | b3b6bb6a825818df86bbd1aea8ce5c306d1c18d9 /gdb/ChangeLog | |
parent | 9daa0d29f53b58a9106995a5441cae105d8cb72b (diff) | |
download | gdb-b83e9eb71cb4a21b31f8f47782da821a5a0ddb32.zip gdb-b83e9eb71cb4a21b31f8f47782da821a5a0ddb32.tar.gz gdb-b83e9eb71cb4a21b31f8f47782da821a5a0ddb32.tar.bz2 |
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 ();
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 173b937..52d8723 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ 2009-09-08 Joel Brobecker <brobecker@adacore.com> + 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 (); + +2009-09-08 Joel Brobecker <brobecker@adacore.com> + * block.c (contained_in): Return zero for nested functions. * blockframe.c (block_innermost_frame): Delete unreferenced local variable. |