+Thu Apr 1 09:01:38 1993 Jim Kingdon (kingdon@cygnus.com)
+
+ * core.c (dis_asm_read_memory): Reinstate 4th arg. The prototype
+ has been fixed.
+
Thu Apr 1 09:34:43 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* breakpoint.c (bpstat_print, bpstat_stop_status): Change to walk the
FIXME: not according to it's prototype. 930331 krp. */
int
-dis_asm_read_memory (memaddr, myaddr, len)
+dis_asm_read_memory (memaddr, myaddr, len, info)
bfd_vma memaddr;
bfd_byte *myaddr;
int len;
+ disassemble_info *info;
{
return target_read_memory (memaddr, myaddr, len);
}
+Thu Apr 1 09:00:10 1993 Jim Kingdon (kingdon@cygnus.com)
+
+ * dis-asm.h (dis_asm_read_memory): Fix prototype.
+
Wed Mar 31 17:40:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* dis-asm.h: Add print_insn_sparc.
/* GDB--Like target_read_memory, but slightly different parameters. */
extern int
-dis_asm_read_memory PARAMS ((bfd_vma memaddr, bfd_byte *myaddr, int len));
+dis_asm_read_memory PARAMS ((bfd_vma memaddr, bfd_byte *myaddr, int len,
+ disassemble_info *info));
/* GDB--Like memory_error with slightly different parameters. */
extern void
errcode =
(*info->read_memory_func)
(memaddr - 4,
- (char *)&prev_insn, sizeof (prev_insn));
+ (char *)&prev_insn, sizeof (prev_insn), info);
if (errcode == 0)
{
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