projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrace: temporarily set inferior_ptid in record_btrace_start_replaying
[deliverable/binutils-gdb.git]
/
gdb
/
dcache.c
diff --git
a/gdb/dcache.c
b/gdb/dcache.c
index f87c529cfcd5c7980cda5d0edfcf055d8daad073..f1cabb02aebe2d15f2afd1d550b0a5cad6d0b487 100644
(file)
--- a/
gdb/dcache.c
+++ b/
gdb/dcache.c
@@
-444,9
+444,7
@@
dcache_splay_tree_compare (splay_tree_key a, splay_tree_key b)
DCACHE *
dcache_init (void)
{
- DCACHE *dcache;
-
- dcache = (DCACHE *) xmalloc (sizeof (*dcache));
+ DCACHE *dcache = XNEW (DCACHE);
dcache->tree = splay_tree_new (dcache_splay_tree_compare,
NULL,
This page took
0.023698 seconds
and
4
git commands to generate.