mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* 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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user