forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user