diff options
author | Alan Modra <amodra@gmail.com> | 2006-05-17 23:44:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-05-17 23:44:58 +0000 |
commit | 00988f494c6923121470f20e6c95d1bf4bd02ada (patch) | |
tree | ac77fec8e0feacfcf16d76066dee27b5f758c2a5 /opcodes | |
parent | b93ce811ad6497646945667621a5095fabe0c655 (diff) | |
download | gdb-00988f494c6923121470f20e6c95d1bf4bd02ada.zip gdb-00988f494c6923121470f20e6c95d1bf4bd02ada.tar.gz gdb-00988f494c6923121470f20e6c95d1bf4bd02ada.tar.bz2 |
* avr-dis.c: Formatting fix.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/avr-dis.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 37d1931..2f7b474 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2006-05-18 Alan Modra <amodra@bigpond.net.au> + + * avr-dis.c: Formatting fix. + 2006-05-14 Thiemo Seufer <ths@mips.com> * mips16-opc.c (I1, I32, I64): New shortcut defines. diff --git a/opcodes/avr-dis.c b/opcodes/avr-dis.c index ac37752..7e792c9 100644 --- a/opcodes/avr-dis.c +++ b/opcodes/avr-dis.c @@ -1,5 +1,6 @@ /* Disassemble AVR instructions. - Copyright 1999, 2000, 2002, 2004, 2005 Free Software Foundation, Inc. + Copyright 1999, 2000, 2002, 2004, 2005, 2006 + Free Software Foundation, Inc. Contributed by Denis Chertykov <denisc@overta.ru> @@ -142,7 +143,7 @@ avr_operand (unsigned int insn, unsigned int insn2, unsigned int pc, int constra /* See PR binutils/2545. Ideally we would like to display the hex value of the address only once, but this would mean recoding objdump_print_address() which would affect many targets. */ - sprintf (buf, "%#lx", (unsigned long ) *sym_addr); + sprintf (buf, "%#lx", (unsigned long) *sym_addr); sprintf (comment, "0x"); break; |