diff options
author | Klee Dienes <kdienes@apple.com> | 2002-11-18 16:52:46 +0000 |
---|---|---|
committer | Klee Dienes <kdienes@apple.com> | 2002-11-18 16:52:46 +0000 |
commit | a3e64b75ca58524a4bda89ba15e747f5e3a54993 (patch) | |
tree | 6ddb1be692034c4b55bac59c55a9acd2dc0881b1 /gdb/i960-tdep.c | |
parent | 84037f8c661b04523b5858209b1dc69109f4f31e (diff) | |
download | gdb-a3e64b75ca58524a4bda89ba15e747f5e3a54993.zip gdb-a3e64b75ca58524a4bda89ba15e747f5e3a54993.tar.gz gdb-a3e64b75ca58524a4bda89ba15e747f5e3a54993.tar.bz2 |
2002-11-11 Klee Dienes <kdienes@apple.com>
* h8300.h (h8_opcode): Remove 'length' field.
(h8_opcodes): Mark as 'const' (both the declaration and
definition). Modify initializer and initializer macros to no
longer initialize the length field.
2002-11-11 Klee Dienes <kdienes@apple.com>
* h8300-dis.c: Include libiberty.h (for xmalloc).
(struct h8_instruction): New type, used to wrap h8_opcodes with a
length field (computed at run-time).
(h8_instructions): New variable.
(bfd_h8_disassemble_init): Allocate the storage for
h8_instructions. Fill h8_instructions with pointers to the
appropriate opcode and the correct value for the length field.
(bfd_h8_disassemble): Iterate through h8_instructions instead of
h8_opcodes.
Diffstat (limited to 'gdb/i960-tdep.c')
0 files changed, 0 insertions, 0 deletions