2003-01-04 Andrew Cagney <ac131313@redhat.com>
* frame.c (deprecated_frame_xmalloc): New function. (deprecated_set_frame_saved_regs_hack): New function. (deprecated_set_frame_extra_info_hack): New function. * frame.h (deprecated_frame_xmalloc): Declare. (deprecated_set_frame_saved_regs_hack): Declare. (deprecated_set_frame_extra_info_hack): Declare.
This commit is contained in:
parent
77afa6398a
commit
c8b8a89831
3 changed files with 51 additions and 0 deletions
23
gdb/frame.c
23
gdb/frame.c
|
@ -1310,6 +1310,29 @@ deprecated_update_frame_base_hack (struct frame_info *frame, CORE_ADDR base)
|
|||
frame->frame = base;
|
||||
}
|
||||
|
||||
void
|
||||
deprecated_set_frame_saved_regs_hack (struct frame_info *frame,
|
||||
CORE_ADDR *saved_regs)
|
||||
{
|
||||
frame->saved_regs = saved_regs;
|
||||
}
|
||||
|
||||
void
|
||||
deprecated_set_frame_extra_info_hack (struct frame_info *frame,
|
||||
struct frame_extra_info *extra_info)
|
||||
{
|
||||
frame->extra_info = extra_info;
|
||||
}
|
||||
|
||||
struct frame_info *
|
||||
deprecated_frame_xmalloc (void)
|
||||
{
|
||||
struct frame_info *frame = XMALLOC (struct frame_info);
|
||||
memset (frame, 0, sizeof (struct frame_info));
|
||||
return frame;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
_initialize_frame (void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue