diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-01 18:04:51 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-01 18:04:51 +0000 |
commit | a6cead71cd9539e468b3114142319e6a4f6c4a22 (patch) | |
tree | c6a6132c53864f1d3a48464ee80ac8b0442bd984 /opcodes | |
parent | 494503c776cf2a11e65f7d3e4a4635a6c64fd977 (diff) | |
download | gdb-a6cead71cd9539e468b3114142319e6a4f6c4a22.zip gdb-a6cead71cd9539e468b3114142319e6a4f6c4a22.tar.gz gdb-a6cead71cd9539e468b3114142319e6a4f6c4a22.tar.bz2 |
Fix prototype problems related to recent disassembler changes
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/sparc-dis.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/opcodes/sparc-dis.c b/opcodes/sparc-dis.c index 2d20e60..5a10310 100644 --- a/opcodes/sparc-dis.c +++ b/opcodes/sparc-dis.c @@ -460,7 +460,7 @@ print_insn_sparc (memaddr, info) errcode = (*info->read_memory_func) (memaddr - 4, - (char *)&prev_insn, sizeof (prev_insn)); + (char *)&prev_insn, sizeof (prev_insn), info); if (errcode == 0) { @@ -475,7 +475,8 @@ print_insn_sparc (memaddr, info) if (is_delayed_branch (prev_insn)) errcode = (*info->read_memory_func) - (memaddr - 8, (char *)&prev_insn, sizeof (prev_insn)); + (memaddr - 8, (char *)&prev_insn, sizeof (prev_insn), + info); } /* If there was a problem reading memory, then assume |