projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add casts to memory allocation related calls
[deliverable/binutils-gdb.git]
/
gdb
/
mem-break.c
diff --git
a/gdb/mem-break.c
b/gdb/mem-break.c
index 0fb53cf9ccb1ba5c2d10ab41bcaebd16d0ede48b..3fbc33b7ad35a3b4f4d8b5f356e845f13f8b1212 100644
(file)
--- a/
gdb/mem-break.c
+++ b/
gdb/mem-break.c
@@
-53,7
+53,7
@@
default_memory_insert_breakpoint (struct gdbarch *gdbarch,
/* Save the memory contents in the shadow_contents buffer and then
write the breakpoint instruction. */
- readbuf = alloca (bplen);
+ readbuf =
(gdb_byte *)
alloca (bplen);
val = target_read_memory (addr, readbuf, bplen);
if (val == 0)
{
This page took
0.024817 seconds
and
4
git commands to generate.