* 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().
This commit is contained in:
parent
372d09c3fd
commit
34b70237d2
2 changed files with 8 additions and 1 deletions
|
@ -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).
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue