* core.c (dis_asm_read_memory): drop fourth arg which conflicts with

prototype in ../include/dis-asm.h.
This commit is contained in:
K. Richard Pixley 1993-04-01 05:27:06 +00:00
parent 46d0ca81bd
commit bf097a0b40
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Wed Mar 31 21:23:41 1993 K. Richard Pixley (rich@rtl.cygnus.com)
* core.c (dis_asm_read_memory): drop fourth arg which conflicts
with prototype in ../include/dis-asm.h.
Wed Mar 31 12:52:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* core.c (dis_asm_{read_memory,memory_error}): New functions.

View File

@ -161,13 +161,15 @@ read_memory (memaddr, myaddr, len)
memory_error (status, memaddr);
}
/* Like target_read_memory, but slightly different parameters. */
/* Like target_read_memory, but slightly different parameters.
FIXME: not according to it's prototype. 930331 krp. */
int
dis_asm_read_memory (memaddr, myaddr, len, info)
dis_asm_read_memory (memaddr, myaddr, len)
bfd_vma memaddr;
bfd_byte *myaddr;
int len;
disassemble_info *info;
{
return target_read_memory (memaddr, myaddr, len);
}