disasm: split dump_insns
authorMarkus Metzger <markus.t.metzger@intel.com>
Mon, 12 Oct 2015 11:43:42 +0000 (13:43 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Wed, 4 Nov 2015 08:11:01 +0000 (09:11 +0100)
commitaf70908dc41c8bf21680aeb2f849ce4043b2031a
tree327d3587307f29400f1a563f21d615dfc28698a7
parentb9fdaa8d92d2918001969efd083c6ef9765b3c82
disasm: split dump_insns

Split disasm.c's dump_insn into two parts:

  - print a single instruction
  - loop over the specified address range

The first part will be refined in subsequent patches so it can be reused.

gdb/
* disasm.c (dump_insns):  Split into this and ...
(gdb_pretty_print_insn): ... this.
gdb/ChangeLog
gdb/disasm.c