* amd64-tdep.c: Include disasm.h.
authorPedro Alves <palves@redhat.com>
Thu, 6 May 2010 00:21:53 +0000 (00:21 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 6 May 2010 00:21:53 +0000 (00:21 +0000)
commiteda5a4d72028db748b14d3995f49d6c8b609e9b1
tree636dc0361832fa3fb27e1fb53680caa8012d15e1
parent02357a4aafd655e14222cdfa5e1c316bd1bbb092
* amd64-tdep.c: Include disasm.h.
(amd64_insn_length_fprintf, amd64_insn_length_init_dis)
(amd64_insn_length): Moved to disasm.c and renamed.
(fixup_riprel): Adjust.
* disasm.c (do_ui_file_delete): New.
(gdb_insn_length): New.
(gdb_buffered_insn_length_fprintf)
(gdb_buffered_insn_length_init_dis)
(gdb_buffered_insn_length): New, moved from amd64-tdep.c, and
renamed.
* disasm.h (gdb_insn_length): Declare.
(gdb_buffered_insn_length): Declare.
gdb/ChangeLog
gdb/amd64-tdep.c
gdb/disasm.c
gdb/disasm.h