diff options
author | Alan Modra <amodra@gmail.com> | 2022-05-10 09:17:30 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-05-10 11:21:37 +0930 |
commit | d64336e6557a80893a441103b980d35e2b75c3a1 (patch) | |
tree | 7e25635c8fc3bea678c6f45de60466696d12af5f /opcodes/crx-dis.c | |
parent | f3b9cfd1954343ad443119cf0b545de9e45b9494 (diff) | |
download | gdb-d64336e6557a80893a441103b980d35e2b75c3a1.zip gdb-d64336e6557a80893a441103b980d35e2b75c3a1.tar.gz gdb-d64336e6557a80893a441103b980d35e2b75c3a1.tar.bz2 |
opcodes: remove use of PTR
The non-cgen parts of opcodes.
* cr16-dis.c (print_arg): Replace PTR with void *.
* crx-dis.c (print_arg): Likewise.
* rl78-dis.c (print_insn_rl78_common): Don't use PTR cast.
* rx-dis.c (print_insn_rx): Likewise.
* visium-dis.c (print_insn_visium): Likewise.
* z8k-dis.c (print_insn_z8k): Likewise.
Diffstat (limited to 'opcodes/crx-dis.c')
-rw-r--r-- | opcodes/crx-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/crx-dis.c b/opcodes/crx-dis.c index a932d23..e27a938 100644 --- a/opcodes/crx-dis.c +++ b/opcodes/crx-dis.c @@ -487,7 +487,7 @@ print_arg (argument *a, bfd_vma memaddr, struct disassemble_info *info) bfd_vma number; int op_index = 0; char string[200]; - PTR stream = info->stream; + void *stream = info->stream; fprintf_ftype func = info->fprintf_func; switch (a->type) |