mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 21:03:55 +08:00
2002-12-08 Andrew Cagney <ac131313@redhat.com>
* stack.c (frame_info): Use get_prev_frame. * blockframe.c (frame_address_in_block): Ditto. * rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto. (rs6000_frameless_function_invocation): Ditto. (rs6000_frame_saved_pc): Ditto. (rs6000_frame_chain): Ditto. * arch-utils.c (init_frame_pc_default): Ditto.
This commit is contained in:
@ -837,15 +837,15 @@ frame_info (char *addr_exp, int from_tty)
|
||||
printf_filtered (" called by frame at ");
|
||||
print_address_numeric (calling_frame_info->frame, 1, gdb_stdout);
|
||||
}
|
||||
if (fi->next && calling_frame_info)
|
||||
if (get_next_frame (fi) && calling_frame_info)
|
||||
puts_filtered (",");
|
||||
wrap_here (" ");
|
||||
if (fi->next)
|
||||
if (get_next_frame (fi))
|
||||
{
|
||||
printf_filtered (" caller of frame at ");
|
||||
print_address_numeric (fi->next->frame, 1, gdb_stdout);
|
||||
print_address_numeric (get_next_frame (fi)->frame, 1, gdb_stdout);
|
||||
}
|
||||
if (fi->next || calling_frame_info)
|
||||
if (get_next_frame (fi) || calling_frame_info)
|
||||
puts_filtered ("\n");
|
||||
if (s)
|
||||
printf_filtered (" source language %s.\n",
|
||||
|
Reference in New Issue
Block a user