aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2009-10-21 18:02:27 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2009-10-21 18:02:27 +0000
commit2b28d209243f5b7b19cd5adb37c535328334d3a0 (patch)
treeb53e3600445973fb6c463a4cd1b6313d5c03ba7b /gdb/stack.c
parentb54295a7861979f4c863a11ee4bf0cde32f918c1 (diff)
downloadgdb-2b28d209243f5b7b19cd5adb37c535328334d3a0.zip
gdb-2b28d209243f5b7b19cd5adb37c535328334d3a0.tar.gz
gdb-2b28d209243f5b7b19cd5adb37c535328334d3a0.tar.bz2
2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
* defs.h (pc_prefix): New prototype. * disasm.c (dump_insns): Mark current instruction. * printcmd.c (do_examine): Likewise. (pc_prefix): New function. * stack.c (print_frame_info): Disassemble entire current line. doc/ChangeLog: 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.texinfo (Machine Code): Mention current pc marker. (Memory): Likewise. testsuite/ChangeLog: 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.base/consecutive.exp: Adjust. * gdb.base/display.exp: Likewise. * gdb.base/pc-fp.exp: Likewise. * gdb.base/sigbpt.exp: Likewise.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c3
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)