* rs6000-tdep.c: Delete unused function print_frame.
* frame.h (struct frame_info): Doc fix for next_frame. New field signal_handler_caller. blockframe.c (create_new_frame, get_prev_frame_info), config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs INIT_FRAME_PC_FIRST). stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain): Check it.
This commit is contained in:
parent
01f5a1f825
commit
cee86be37f
3 changed files with 25 additions and 22 deletions
|
@ -152,6 +152,15 @@ print_frame_info (fi, level, source, args)
|
|||
printf_filtered ("<function called from gdb>\n");
|
||||
return;
|
||||
}
|
||||
if (fi->signal_handler_caller)
|
||||
{
|
||||
/* Do this regardless of SOURCE because we don't have any source
|
||||
to list for this frame. */
|
||||
if (level >= 0)
|
||||
printf_filtered ("#%-2d ", level);
|
||||
printf_filtered ("<signal handler called>\n");
|
||||
return;
|
||||
}
|
||||
|
||||
sal = find_pc_line (fi->pc, fi->next_frame);
|
||||
func = find_pc_function (fi->pc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue