2002-12-11 Andrew Cagney <ac131313@redhat.com>
* frame.c (get_frame_extra_info): New function. * frame.h (get_frame_extra_info): Declare.
This commit is contained in:
parent
37444a97e6
commit
0394eb2acb
3 changed files with 19 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-12-11 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* frame.c (get_frame_extra_info): New function.
|
||||
* frame.h (get_frame_extra_info): Declare.
|
||||
|
||||
2002-12-11 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* breakpoint.h (struct breakpoint): Replace frame with frame_id.
|
||||
|
|
|
@ -1203,6 +1203,12 @@ deprecated_get_frame_saved_regs (struct frame_info *frame,
|
|||
}
|
||||
#endif
|
||||
|
||||
struct frame_extra_info *
|
||||
get_frame_extra_info (struct frame_info *fi)
|
||||
{
|
||||
return fi->extra_info;
|
||||
}
|
||||
|
||||
void
|
||||
_initialize_frame (void)
|
||||
{
|
||||
|
|
|
@ -643,4 +643,12 @@ extern struct frame_info *deprecated_selected_frame;
|
|||
extern void set_current_frame (struct frame_info *);
|
||||
extern struct frame_info *create_new_frame (CORE_ADDR, CORE_ADDR);
|
||||
|
||||
|
||||
/* NOTE: cagney/2002-12-10:
|
||||
|
||||
Let older code access the member `extra_info'. This member is
|
||||
always initialized during frame creation so is always non-null. */
|
||||
|
||||
extern struct frame_extra_info *get_frame_extra_info (struct frame_info *fi);
|
||||
|
||||
#endif /* !defined (FRAME_H) */
|
||||
|
|
Loading…
Reference in a new issue