This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][patch] Allow to disassemble line.


On Mon, Oct 19, 2009 at 11:09 AM, Paul Pluzhnikov
<ppluzhnikov@google.com> wrote:

> Doing it the way you suggesed simplifies it a bit :-)

The one-line print_pc_prefix() with a single caller doesn't really buy
anything either. Eliminated.

Thanks,
-- 
Paul Pluzhnikov

2009-10-19  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.

Attachment: gdb-disas-20091019-2.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]