From: Fred Fish Date: Fri, 7 May 1993 04:02:16 +0000 (+0000) Subject: * core.c (dis_asm_read_memory): Cast second arg of X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34b70237d2605bfa3ae03d230fe0b9eea8070e5f;p=binutils-gdb.git * core.c (dis_asm_read_memory): Cast second arg of target_read_memory to "char *". * breakpoint.c (watchpoint_check): Change arg type from PTR to "char *", to match other functions called by catch_errors(). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f73e24831bb..efce9240707 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Thu May 6 20:55:35 1993 Fred Fish (fnf@cygnus.com) + + * core.c (dis_asm_read_memory): Cast second arg of + target_read_memory to "char *". + * breakpoint.c (watchpoint_check): Change arg type from PTR to + "char *", to match other functions called by catch_errors(). + Thu May 6 15:47:45 1993 Stu Grossman (grossman@cygnus.com) * More patches from Jeffrey Law (law@cs.utah.edu). diff --git a/gdb/core.c b/gdb/core.c index f80f66c8f99..21aa76b48b8 100644 --- a/gdb/core.c +++ b/gdb/core.c @@ -170,7 +170,7 @@ dis_asm_read_memory (memaddr, myaddr, len, info) int len; disassemble_info *info; { - return target_read_memory (memaddr, myaddr, len); + return target_read_memory (memaddr, (char *) myaddr, len); } /* Like memory_error with slightly different parameters. */