diff options
author | Fred Fish <fnf@specifix.com> | 1993-05-07 04:02:16 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-05-07 04:02:16 +0000 |
commit | 34b70237d2605bfa3ae03d230fe0b9eea8070e5f (patch) | |
tree | 81d1696ed243584581a0325f84870edfa1a1e124 /gdb | |
parent | 372d09c3fd7f5da6233cee011f98aed1f2007a1f (diff) | |
download | gdb-34b70237d2605bfa3ae03d230fe0b9eea8070e5f.zip gdb-34b70237d2605bfa3ae03d230fe0b9eea8070e5f.tar.gz gdb-34b70237d2605bfa3ae03d230fe0b9eea8070e5f.tar.bz2 |
* 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().
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/core.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f73e248..efce924 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). @@ -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. */ |