2013-05-17 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Fri, 17 May 2013 08:34:18 +0000 (08:34 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Fri, 17 May 2013 08:34:18 +0000 (08:34 +0000)
commit3de661e6424ac2fb6d2c75e41040e3fdfcd5fc91
treec96edf2ece9807713c544ac6165472db4e7d4953
parentbb4168a9a7b34b4db6d06ea51b63cf2ef006e310
2013-05-17  Phil Muldoon  <pmuldoon@redhat.com>

* frame.c (frame_stash): Convert to htab.
(frame_addr_hash): New function.
(frame_addr_hash_eq): New function.
(frame_stash_create): Convert function to create
a hash table.
(frame_stash_add): Convert function to add an entry to a hash
table.
(frame_stash_find): Convert function to search the hash table.
(frame_stash_invalidate): Convert function to empty the hash
table.
(get_frame_id): Only add to stash if a frame_id is created.
(_initialize_frame): Call frame_stash_create.
gdb/ChangeLog
gdb/frame.c