提交 d44b29c2 编写于 作者: B bellard

address printing fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@324 c046a42c-6fe2-441c-8c8c-71466251a162
上级 070893f4
...@@ -42,7 +42,7 @@ perror_memory (status, memaddr, info) ...@@ -42,7 +42,7 @@ perror_memory (status, memaddr, info)
/* Actually, address between memaddr and memaddr + len was /* Actually, address between memaddr and memaddr + len was
out of bounds. */ out of bounds. */
(*info->fprintf_func) (info->stream, (*info->fprintf_func) (info->stream,
"Address 0x%x is out of bounds.\n", memaddr); "Address 0x%llx is out of bounds.\n", memaddr);
} }
/* This could be in a separate file, to save miniscule amounts of space /* This could be in a separate file, to save miniscule amounts of space
...@@ -57,7 +57,7 @@ generic_print_address (addr, info) ...@@ -57,7 +57,7 @@ generic_print_address (addr, info)
bfd_vma addr; bfd_vma addr;
struct disassemble_info *info; struct disassemble_info *info;
{ {
(*info->fprintf_func) (info->stream, "0x%x", addr); (*info->fprintf_func) (info->stream, "0x%llx", addr);
} }
/* Just return the given address. */ /* Just return the given address. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册