projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/filestuff.c (make_cleanup_close): Update comment.
[deliverable/binutils-gdb.git]
/
gdb
/
cp-valprint.c
diff --git
a/gdb/cp-valprint.c
b/gdb/cp-valprint.c
index 0c32f04286abc8134cba77a3a1124dbaf63873df..a3e94261b4a6bc8b5c06972517fc24ea8264156d 100644
(file)
--- a/
gdb/cp-valprint.c
+++ b/
gdb/cp-valprint.c
@@
-535,7
+535,7
@@
cp_print_value (struct type *type, struct type *real_type,
gdb_byte *buf;
struct cleanup *back_to;
- buf = xmalloc (TYPE_LENGTH (baseclass));
+ buf =
(gdb_byte *)
xmalloc (TYPE_LENGTH (baseclass));
back_to = make_cleanup (xfree, buf);
if (target_read_memory (address + boffset, buf,
This page took
0.024034 seconds
and
4
git commands to generate.