[binutils-gdb] guile disassembly hardcode TARGET_XFER_E_IO
sergiodj+buildbot@redhat.com
sergiodj+buildbot@redhat.com
Tue Nov 17 13:56:00 GMT 2015
*** TEST RESULTS FOR COMMIT 9a4073e20b2f1da74cb3b46707e4f6fc4e700950 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 9a4073e20b2f1da74cb3b46707e4f6fc4e700950
guile disassembly hardcode TARGET_XFER_E_IO
Instead of adding a cast at the memory_error call, as needed for C++,
and have the reader understand the indirection, make it simple and
hardcode the generic memory error at the memory_error call site.
gdb/ChangeLog:
2015-11-17 Pedro Alves <palves@redhat.com>
* guile/scm-disasm.c (gdbscm_disasm_read_memory): Return -1 on
error instead of TARGET_XFER_E_IO.
(gdbscm_disasm_memory_error): Always pass TARGET_XFER_E_IO to
memory_error.
More information about the Gdb-testers
mailing list