Search
lxdream.org :: lxdream/src/x86dasm/x86dasm.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/x86dasm/x86dasm.c
changeset 586:2a3ba82cf243
prev527:14c9489f647e
next755:ab873907b00e
author nkeynes
date Tue Jan 29 10:39:56 2008 +0000 (16 years ago)
permissions -rw-r--r--
last change Start getting SLEEP into order
file annotate diff log raw
1.1 --- a/src/x86dasm/x86dasm.c Sun Nov 18 11:12:44 2007 +0000
1.2 +++ b/src/x86dasm/x86dasm.c Tue Jan 29 10:39:56 2008 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: x86dasm.c,v 1.5 2007-10-31 11:53:35 nkeynes Exp $
1.6 + * $Id$
1.7 *
1.8 * Wrapper around i386-dis to supply the same behaviour as the other
1.9 * disassembly functions.
1.10 @@ -22,7 +22,7 @@
1.11 #include "x86dasm.h"
1.12 #include "bfd.h"
1.13 #include "dis-asm.h"
1.14 -#include "sh4/sh4core.h"
1.15 +#include "sh4/sh4.h"
1.16 #include "sh4/sh4trans.h"
1.17
1.18 extern const struct reg_desc_struct sh4_reg_map[];
1.19 @@ -43,7 +43,7 @@
1.20
1.21 void xlat_disasm_block( FILE *out, void *block )
1.22 {
1.23 - uint32_t buflen = xlat_get_block_size(block);
1.24 + uint32_t buflen = xlat_get_code_size(block);
1.25 x86_set_symtab( NULL, 0 );
1.26 x86_disasm_block( out, block, buflen );
1.27 }
.