projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace XZALLOC with XCNEW
[deliverable/binutils-gdb.git]
/
gdb
/
remote-sim.c
diff --git
a/gdb/remote-sim.c
b/gdb/remote-sim.c
index b0f49225e45c0efea94b3789072c8c15fb412dcb..726372729238d41b4e24011710a61a0313b0d3be 100644
(file)
--- a/
gdb/remote-sim.c
+++ b/
gdb/remote-sim.c
@@
-206,7
+206,7
@@
get_sim_inferior_data (struct inferior *inf, int sim_instance_needed)
if (sim_data == NULL)
{
- sim_data = X
ZALLOC
(struct sim_inferior_data);
+ sim_data = X
CNEW
(struct sim_inferior_data);
set_inferior_data (inf, sim_inferior_data_key, sim_data);
/* Allocate a ptid for this inferior. */
This page took
0.025643 seconds
and
4
git commands to generate.