aboutsummaryrefslogtreecommitdiff
path: root/cpu/ms1.opc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-07-14 13:59:51 +0000
committerAlan Modra <amodra@gmail.com>2005-07-14 13:59:51 +0000
commit0e6b69beb90c63fbaaf33175bd6d62fabd0fa38b (patch)
tree3384b17ac5eb2dd857012403ea82cd6acababaf9 /cpu/ms1.opc
parenta3c2b96af6bbf3ab11d9f5532093c8c3c346df4a (diff)
downloadgdb-0e6b69beb90c63fbaaf33175bd6d62fabd0fa38b.zip
gdb-0e6b69beb90c63fbaaf33175bd6d62fabd0fa38b.tar.gz
gdb-0e6b69beb90c63fbaaf33175bd6d62fabd0fa38b.tar.bz2
* ms1.opc (print_dollarhex): Correct format string.
Diffstat (limited to 'cpu/ms1.opc')
-rw-r--r--cpu/ms1.opc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ms1.opc b/cpu/ms1.opc
index f61de6c..3655f14 100644
--- a/cpu/ms1.opc
+++ b/cpu/ms1.opc
@@ -422,7 +422,7 @@ print_dollarhex (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
{
disassemble_info *info = (disassemble_info *) dis_info;
- info->fprintf_func (info->stream, "$%x", value);
+ info->fprintf_func (info->stream, "$%lx", value);
if (0)
print_normal (cd, dis_info, value, attrs, pc, length);