diff options
author | Alan Modra <amodra@gmail.com> | 2005-07-14 13:59:51 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-07-14 13:59:51 +0000 |
commit | 0e6b69beb90c63fbaaf33175bd6d62fabd0fa38b (patch) | |
tree | 3384b17ac5eb2dd857012403ea82cd6acababaf9 | |
parent | a3c2b96af6bbf3ab11d9f5532093c8c3c346df4a (diff) | |
download | gdb-0e6b69beb90c63fbaaf33175bd6d62fabd0fa38b.zip gdb-0e6b69beb90c63fbaaf33175bd6d62fabd0fa38b.tar.gz gdb-0e6b69beb90c63fbaaf33175bd6d62fabd0fa38b.tar.bz2 |
* ms1.opc (print_dollarhex): Correct format string.
-rw-r--r-- | cpu/ChangeLog | 6 | ||||
-rw-r--r-- | cpu/ms1.opc | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog index f83e869..d62ab5a 100644 --- a/cpu/ChangeLog +++ b/cpu/ChangeLog @@ -1,3 +1,7 @@ +2005-07-14 Alan Modra <amodra@bigpond.net.au> + + * ms1.opc (print_dollarhex): Correct format string. + 2005-07-06 Alan Modra <amodra@bigpond.net.au> * iq2000.cpu: Include from binutils cpu dir. @@ -326,7 +330,7 @@ media-expand-halfword-to-double-semantics, mexpdhd, cmexpdhd, cmhtob): Use new operands. * frv.opc (CGEN_VERBOSE_ASSEMBLER_ERRORS): Define. - (parse_even_register): New function. + (parse_even_register): New function. 2003-06-03 Nick Clifton <nickc@redhat.com> 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); |