diff options
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index d28de76..4aad34c 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -643,8 +643,7 @@ print_frame_info (struct frame_info *frame, int print_level, /* If disassemble-next-line is set to on and there is line debug messages, output assembly codes for next line. */ if (disassemble_next_line == AUTO_BOOLEAN_TRUE) - do_gdb_disassembly (get_frame_arch (frame), -1, - get_frame_pc (frame), sal.end); + do_gdb_disassembly (get_frame_arch (frame), -1, sal.pc, sal.end); } if (print_what != LOCATION) |