projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
532700f
)
* gencode.c (write_opcodes): Also write out the format of the
author
Jeff Law
<law@redhat.com>
Wed, 11 Dec 1996 16:58:33 +0000
(16:58 +0000)
committer
Jeff Law
<law@redhat.com>
Wed, 11 Dec 1996 16:58:33 +0000
(16:58 +0000)
opcode.
* mn10300_sim.h (simops): Add "format" field.
* interp.c (sim_resume): Deal with endianness issues here.
sim/mn10300/gencode.c
patch
|
blob
|
history
diff --git
a/sim/mn10300/gencode.c
b/sim/mn10300/gencode.c
index b0ca6e7f63dbaaf9f9ef388bd601f1b4f20c7531..bef312c0e835d177e26a30fdc99968464800ad5e 100644
(file)
--- a/
sim/mn10300/gencode.c
+++ b/
sim/mn10300/gencode.c
@@
-114,8
+114,9
@@
write_opcodes ()
else
size = 7;
- printf (" { 0x%x,0x%x,OP_%X,%d,",
- opcode->opcode, opcode->mask, opcode->opcode, size);
+ printf (" { 0x%x,0x%x,OP_%X,%d,%d,",
+ opcode->opcode, opcode->mask, opcode->opcode,
+ size, opcode->format);
Opcodes[curop++] = opcode->opcode;
@@
-158,5
+159,5
@@
write_opcodes ()
printf ("}},\n");
}
- printf ("{ 0,0,NULL,0,0,{0,0,0,0,0,0}},\n};\n");
+ printf ("{ 0,0,NULL,0,0,
0,
{0,0,0,0,0,0}},\n};\n");
}