diff options
author | Michael Snyder <msnyder@vmware.com> | 2004-01-13 19:56:46 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2004-01-13 19:56:46 +0000 |
commit | f532f3fa70bca3497edbcc37771da41a033e871c (patch) | |
tree | 720c3eb8272717d1924e40ea2e0e12904a62696d /opcodes/sh-dis.c | |
parent | 19ac3974bce1b2bca56ade2dce7c291117a4d666 (diff) | |
download | gdb-f532f3fa70bca3497edbcc37771da41a033e871c.zip gdb-f532f3fa70bca3497edbcc37771da41a033e871c.tar.gz gdb-f532f3fa70bca3497edbcc37771da41a033e871c.tar.bz2 |
2004-01-13 Michael Snyder <msnyder@redhat.com>
* sh-dis.c (print_insn_sh): Allocate 4 bytes for insn.
Diffstat (limited to 'opcodes/sh-dis.c')
-rw-r--r-- | opcodes/sh-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/sh-dis.c b/opcodes/sh-dis.c index c0e1a2e..70fdffb 100644 --- a/opcodes/sh-dis.c +++ b/opcodes/sh-dis.c @@ -397,7 +397,7 @@ print_insn_sh (memaddr, info) { fprintf_ftype fprintf_fn = info->fprintf_func; void *stream = info->stream; - unsigned char insn[2]; + unsigned char insn[4]; unsigned char nibs[4]; int status; bfd_vma relmask = ~(bfd_vma) 0; |