aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-04-01 05:27:06 +0000
committerK. Richard Pixley <rich@cygnus>1993-04-01 05:27:06 +0000
commitbf097a0b40fa095486cc6e0ddb04cd1112c16d07 (patch)
treea1b1242c6732313e41cbe32525dec4409a7d36e2
parent46d0ca81bd87cbcaa49f4370c7c0542073f0639b (diff)
downloadgdb-bf097a0b40fa095486cc6e0ddb04cd1112c16d07.zip
gdb-bf097a0b40fa095486cc6e0ddb04cd1112c16d07.tar.gz
gdb-bf097a0b40fa095486cc6e0ddb04cd1112c16d07.tar.bz2
* core.c (dis_asm_read_memory): drop fourth arg which conflicts with
prototype in ../include/dis-asm.h.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/core.c8
2 files changed, 10 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 44f8877..187fb6c 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 a357352..3fa964b 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);
}