diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-10-21 18:02:27 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-10-21 18:02:27 +0000 |
commit | 2b28d209243f5b7b19cd5adb37c535328334d3a0 (patch) | |
tree | b53e3600445973fb6c463a4cd1b6313d5c03ba7b /gdb/disasm.c | |
parent | b54295a7861979f4c863a11ee4bf0cde32f918c1 (diff) | |
download | gdb-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/disasm.c')
-rw-r--r-- | gdb/disasm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index 6a1a316..e296e38 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -113,6 +113,7 @@ dump_insns (struct gdbarch *gdbarch, struct ui_out *uiout, num_displayed++; } ui_out_chain = make_cleanup_ui_out_tuple_begin_end (uiout, NULL); + ui_out_text (uiout, pc_prefix (pc)); ui_out_field_core_addr (uiout, "address", gdbarch, pc); if (!build_address_symbolic (pc, 0, &name, &offset, &filename, |