diff options
author | Martin Hunt <hunt@redhat.com> | 2002-07-03 20:23:04 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2002-07-03 20:23:04 +0000 |
commit | e64d9b3dea5a099bcb97984fed54ab14f967b02f (patch) | |
tree | 4666f0f7482a4bbd1d6405ce95fdbdef2a7a71cb /gdb/event-top.c | |
parent | 26e6c56a6682cc35c63fa1bfca57613b91ea9bf0 (diff) | |
download | gdb-e64d9b3dea5a099bcb97984fed54ab14f967b02f.zip gdb-e64d9b3dea5a099bcb97984fed54ab14f967b02f.tar.gz gdb-e64d9b3dea5a099bcb97984fed54ab14f967b02f.tar.bz2 |
2002-07-03 Martin M. Hunt <hunt@redhat.com>
* varobj.c (struct varobj_root): Change frame from CORE_ADDR to
struct frame_id.
(varobj_create): Store frame_id for root.
(varobj_gen_name): Use xasprintf.
(varobj_update): Save and restore frame using get_frame_id() and
frame_find_by_id().
(create_child): Use xasprintf.
(new_root_variable): Initialize frame_id.
(c_name_of_child): Use xasprintf. Call find_frame_by_id().
(c_value_of_variable): Use xasprintf. Move mem_fileopen call
to prevent memory leak.
Diffstat (limited to 'gdb/event-top.c')
0 files changed, 0 insertions, 0 deletions