* frame.c (has_stack_frames): Make public.
authorPedro Alves <palves@redhat.com>
Thu, 5 Feb 2009 17:28:21 +0000 (17:28 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 5 Feb 2009 17:28:21 +0000 (17:28 +0000)
commit9d49bdc28ad672f6e23e9f33759f73968d6885ff
tree6bdaf0312e8701db011376578e7b6022e72231e4
parent12453b93bd8de559235835300eac68118c4ade70
* frame.c (has_stack_frames): Make public.
(get_prev_frame): Don't allow a NULL this_frame anymore.
* frame.h (has_stack_frames): Declare.
* varobj.c (find_frame_addr_in_frame_chain): Don't ever pass NULL
to get_prev_frame, instead start at get_current_frame.
(varobj_create): Check has_stack_frames before getting any frame;
eliminate one usage of deprecated_safe_get_selected_frame.
gdb/ChangeLog
gdb/frame.c
gdb/frame.h
gdb/varobj.c