Don't throw exception in dis_asm_memory_error
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2e8a96fb20bcbb07555d37d2e38ee98a4605844a..4e85fcdc5cee825adac375e3ebd16a0766d9be64 100644 (file)
@@ -1,3 +1,13 @@
+2017-01-26  Yao Qi  <yao.qi@linaro.org>
+           Pedro Alves  <palves@redhat.com>
+
+       PR gdb/20939
+       * disasm.c (gdb_disassembler::dis_asm_memory_error): Don't
+       call memory_error, save memaddr instead.
+       (gdb_disassembler::print_insn): If gdbarch_print_insn returns
+       negative, cal memory_error.
+       * disasm.h (gdb_disassembler) <m_err_memaddr>: New field.
+
 2017-01-26  Yao Qi  <yao.qi@linaro.org>
 
        * disasm-selftests.c (memory_error_test): New function.
This page took 0.026112 seconds and 4 git commands to generate.