diff options
Diffstat (limited to 'gdb/solib-spu.c')
-rw-r--r-- | gdb/solib-spu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-spu.c b/gdb/solib-spu.c index abb8c15..b8e5e23 100644 --- a/gdb/solib-spu.c +++ b/gdb/solib-spu.c @@ -125,7 +125,7 @@ append_ocl_sos (struct so_list **link_ptr) struct so_list *new; /* Allocate so_list structure. */ - new = XZALLOC (struct so_list); + new = XCNEW (struct so_list); /* Encode FD and object ID in path name. */ xsnprintf (new->so_name, sizeof new->so_name, "@%s <%d>", @@ -217,7 +217,7 @@ spu_current_sos (void) continue; /* Allocate so_list structure. */ - new = XZALLOC (struct so_list); + new = XCNEW (struct so_list); /* Encode FD and object ID in path name. Choose the name so as not to conflict with any (normal) SVR4 library path name. */ |