diff options
author | Fred Fish <fnf@specifix.com> | 1993-05-07 03:55:10 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-05-07 03:55:10 +0000 |
commit | 0e57a4958787235adf922cdb1907487e324e9b57 (patch) | |
tree | 411594497fd965d65408d285657ff0566f3027e8 /opcodes | |
parent | 75f844cce72ce6678a5e56f4f182c74aacdc3c25 (diff) | |
download | gdb-0e57a4958787235adf922cdb1907487e324e9b57.zip gdb-0e57a4958787235adf922cdb1907487e324e9b57.tar.gz gdb-0e57a4958787235adf922cdb1907487e324e9b57.tar.bz2 |
* a29k-dis.c, alpha-dis.c, i960-dis.c, sparc-dis.c, z8k-dis.c:
Cast second arg to read_memory_func to "bfd_byte *", as necessary.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/a29k-dis.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/a29k-dis.c b/opcodes/a29k-dis.c index 102d57a..a0c57ac 100644 --- a/opcodes/a29k-dis.c +++ b/opcodes/a29k-dis.c @@ -140,7 +140,7 @@ print_insn (memaddr, info) { int status = - (*info->read_memory_func) (memaddr, (char *) &insn[0], 4, info); + (*info->read_memory_func) (memaddr, (bfd_byte *) &insn[0], 4, info); if (status != 0) { (*info->memory_error_func) (status, memaddr, info); @@ -271,7 +271,7 @@ print_insn (memaddr, info) unsigned char prev_insn0, prev_insn8, prev_insn16, prev_insn24; errcode = (*info->read_memory_func) (memaddr - 4, - &prev_insn[0], + (bfd_byte *) &prev_insn[0], 4, info); if (errcode == 0) @@ -289,7 +289,7 @@ print_insn (memaddr, info) if (is_delayed_branch (prev_insn24)) { errcode = (*info->read_memory_func) - (memaddr - 8, &prev_insn[0], 4, info); + (memaddr - 8, (bfd_byte *) &prev_insn[0], 4, info); (*find_byte_func) (prev_insn, &prev_insn0, &prev_insn8, &prev_insn16, &prev_insn24); } |