diff options
author | Michael Snyder <msnyder@vmware.com> | 2004-02-12 19:32:12 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2004-02-12 19:32:12 +0000 |
commit | 3e5117978b9b7ca15f1fcdd17cc3a4edbeb4d5d4 (patch) | |
tree | f8d32614d6d9ed82048a4682fe7343b2cc2a6191 /sim/sh/gencode.c | |
parent | 6a7760b682901be7ae970252843156da407a6d5d (diff) | |
download | gdb-3e5117978b9b7ca15f1fcdd17cc3a4edbeb4d5d4.zip gdb-3e5117978b9b7ca15f1fcdd17cc3a4edbeb4d5d4.tar.gz gdb-3e5117978b9b7ca15f1fcdd17cc3a4edbeb4d5d4.tar.bz2 |
2004-02-12 Michael Snyder <msnyder@redhat.com>
* gencode.c (table): Change from char to short.
(dumptable): Change generated table from char to short.
* interp.c (sh_jump_table, sh_dsp_table, ppi_table): char to short.
(init_dsp): Compute size of sh_dsp_table.
(sim_resume): Change jump_table from char to short.
Diffstat (limited to 'sim/sh/gencode.c')
-rw-r--r-- | sim/sh/gencode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/sh/gencode.c b/sim/sh/gencode.c index 9769d73..3d998f0 100644 --- a/sim/sh/gencode.c +++ b/sim/sh/gencode.c @@ -2265,7 +2265,7 @@ gengastab () } } -static unsigned char table[1 << 16]; +static unsigned short table[1 << 16]; /* Take an opcode, expand all varying fields in it out and fill all the right entries in 'table' with the opcode index. */ @@ -2407,7 +2407,7 @@ dumptable (name, size, start) int i = start; - printf ("unsigned char %s[%d]={\n", name, size); + printf ("unsigned short %s[%d]={\n", name, size); while (i < start + size) { int j = 0; |