Commit 83b34f8b5736f7ae523ba573f55f4d9a2455b57f
1 parent
18a6d284
more consistent type for size (still a bug in wrapping)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1230 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
2 additions
and
2 deletions
disas.c
... | ... | @@ -110,7 +110,7 @@ bfd_vma bfd_getb32 (const bfd_byte *addr) |
110 | 110 | |
111 | 111 | /* Disassemble this for me please... (debugging). 'flags' is only used |
112 | 112 | for i386: non zero means 16 bit code */ |
113 | -void target_disas(FILE *out, target_ulong code, unsigned long size, int flags) | |
113 | +void target_disas(FILE *out, target_ulong code, target_ulong size, int flags) | |
114 | 114 | { |
115 | 115 | target_ulong pc; |
116 | 116 | int count; | ... | ... |
disas.h
... | ... | @@ -3,7 +3,7 @@ |
3 | 3 | |
4 | 4 | /* Disassemble this for me please... (debugging). */ |
5 | 5 | void disas(FILE *out, void *code, unsigned long size); |
6 | -void target_disas(FILE *out, target_ulong code, unsigned long size, int flags); | |
6 | +void target_disas(FILE *out, target_ulong code, target_ulong size, int flags); | |
7 | 7 | void monitor_disas(target_ulong pc, int nb_insn, int is_physical, int flags); |
8 | 8 | |
9 | 9 | /* Look up symbol for debugging purpose. Returns "" if unknown. */ | ... | ... |