gdb/
* frame.h (frame_unwind_caller_pc_if_available): Declare. * frame.c (frame_unwind_caller_pc_if_available): New. * stack.c (frame_info): Handle unavailable PC.
This commit is contained in:
parent
e3eebbd742
commit
008f8f2ee9
4 changed files with 36 additions and 7 deletions
|
@ -710,6 +710,13 @@ frame_unwind_caller_pc (struct frame_info *this_frame)
|
|||
return frame_unwind_pc (skip_inlined_frames (this_frame));
|
||||
}
|
||||
|
||||
int
|
||||
frame_unwind_caller_pc_if_available (struct frame_info *this_frame,
|
||||
CORE_ADDR *pc)
|
||||
{
|
||||
return frame_unwind_pc_if_available (skip_inlined_frames (this_frame), pc);
|
||||
}
|
||||
|
||||
int
|
||||
get_frame_func_if_available (struct frame_info *this_frame, CORE_ADDR *pc)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue