Add back gdb_pretty_print_insn
[binutils-gdb.git] / gdb / ChangeLog
index b2f7d73005a9ad881b5782e5fd2f059a1d795938..723f06b21de0002e90f36236599bd360a2575004 100644 (file)
@@ -1,3 +1,35 @@
+2017-02-02  Pedro Alves  <palves@redhat.com>
+
+       * disasm.c (gdb_disassembler::pretty_print_insn): Rename to...
+       (gdb_pretty_print_insn): ... this.  Now a free function.  Add back
+       a 'gdbarch' parameter.  Allocate a mem_fileopen stream here.
+       Adjust to call gdb_print_insn instead of
+       gdb_disassembler::print_insn.
+       (dump_insns, do_mixed_source_and_assembly_deprecated)
+       (do_mixed_source_and_assembly, do_assembly_only): Add back a
+       'gdbarch' parameter.  Remove gdb_disassembler parameter.
+       (gdb_disassembly): Don't allocate a gdb_disassembler here.
+       * disasm.h (gdb_disassembler::pretty_print_insn): Delete
+       declaration.
+       (gdb_pretty_print_insn): Re-add declaration.
+       * record-btrace.c (btrace_insn_history): Don't allocate a
+       gdb_disassembler here.  Adjust to call gdb_pretty_print_insn.
+
+2017-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * disasm.h (gdb_disassembly): Remove file_string parameter.
+       * disasm.c (gdb_disassembly): Likewise.
+       * cli/cli-cmds.c (print_disassembly): Adapt.
+       * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
+       * stack.c (do_gdb_disassembly): Likewise.
+
+2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): For
+       DWARF_VALUE_LITERAL, no longer ignore the offset on big-endian
+       targets.  And if the implicit value is longer than needed, extract
+       the first bytes instead of the "least significant" ones.
+
 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
 
        * btrace.c (btrace_enable): Do not call btrace_add_pc for