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 some xmalloc-family functions with XNEW-family ones
[deliverable/binutils-gdb.git]
/
gdb
/
arm-linux-nat.c
diff --git
a/gdb/arm-linux-nat.c
b/gdb/arm-linux-nat.c
index fb65a5d3f9b37ebc8dfea12bde568493cdcacebb..a63b181697cccc3a7f0267ffde3f866d7d4d6c3c 100644
(file)
--- a/
gdb/arm-linux-nat.c
+++ b/
gdb/arm-linux-nat.c
@@
-791,7
+791,7
@@
arm_linux_add_process (pid_t pid)
{
struct arm_linux_process_info *proc;
- proc =
xcalloc (1, sizeof (*proc)
);
+ proc =
XCNEW (struct arm_linux_process_info
);
proc->pid = pid;
proc->next = arm_linux_process_list;
This page took
0.028962 seconds
and
4
git commands to generate.