filename | src/x86dasm/x86dasm.c |
changeset | 586:2a3ba82cf243 |
prev | 527:14c9489f647e |
next | 755:ab873907b00e |
author | nkeynes |
date | Thu May 29 11:00:26 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Split gdrom.h into public and private gddriver.h Reorganize gdrom mount to use a disc change hook |
file | annotate | diff | log | raw |
1.1 --- a/src/x86dasm/x86dasm.c Sun Nov 18 11:12:44 2007 +00001.2 +++ b/src/x86dasm/x86dasm.c Thu May 29 11:00:26 2008 +00001.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 other1.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.18 extern const struct reg_desc_struct sh4_reg_map[];1.19 @@ -43,7 +43,7 @@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 }
.