Search
lxdream.org :: lxdream/src/x86dasm/x86dasm.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/x86dasm/x86dasm.c
changeset 755:ab873907b00e
prev586:2a3ba82cf243
next920:1e6a29649b56
author nkeynes
date Mon Jul 21 00:08:34 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Add gettext.h and build sanely without libintl if it's not available
Remove x86dasm's config.h & opintl.h (no longer needed and actually wrong)
file annotate diff log raw
1.1 --- a/src/x86dasm/x86dasm.c Tue Jan 15 20:50:23 2008 +0000
1.2 +++ b/src/x86dasm/x86dasm.c Mon Jul 21 00:08:34 2008 +0000
1.3 @@ -19,15 +19,15 @@
1.4
1.5 #include <stdarg.h>
1.6 #include <string.h>
1.7 -#include "x86dasm.h"
1.8 -#include "bfd.h"
1.9 -#include "dis-asm.h"
1.10 +#include "x86dasm/x86dasm.h"
1.11 +#include "x86dasm/bfd.h"
1.12 +#include "x86dasm/dis-asm.h"
1.13 #include "sh4/sh4.h"
1.14 #include "sh4/sh4trans.h"
1.15
1.16 extern const struct reg_desc_struct sh4_reg_map[];
1.17 const struct cpu_desc_struct x86_cpu_desc =
1.18 - { "x86", x86_disasm_instruction, NULL, mem_has_page,
1.19 + { "x86", (disasm_func_t)x86_disasm_instruction, NULL, mem_has_page,
1.20 NULL, NULL, NULL, 1,
1.21 (char *)&sh4r, sizeof(sh4r), sh4_reg_map,
1.22 &sh4r.pc };
.