From bf097a0b40fa095486cc6e0ddb04cd1112c16d07 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Thu, 1 Apr 1993 05:27:06 +0000 Subject: [PATCH] * core.c (dis_asm_read_memory): drop fourth arg which conflicts with prototype in ../include/dis-asm.h. --- gdb/ChangeLog | 5 +++++ gdb/core.c | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 44f8877a7de..187fb6cf1b6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/core.c b/gdb/core.c index a357352f8de..3fa964b99f8 100644 --- a/gdb/core.c +++ b/gdb/core.c @@ -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); } -- 2.30.2