diff options
Diffstat (limited to 'gdb/progspace.c')
-rw-r--r-- | gdb/progspace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/progspace.c b/gdb/progspace.c index 9a6321f..14507ef 100644 --- a/gdb/progspace.c +++ b/gdb/progspace.c @@ -70,7 +70,7 @@ new_address_space (void) { struct address_space *aspace; - aspace = XZALLOC (struct address_space); + aspace = XCNEW (struct address_space); aspace->num = ++highest_address_space_num; address_space_alloc_data (aspace); @@ -126,7 +126,7 @@ add_program_space (struct address_space *aspace) { struct program_space *pspace; - pspace = XZALLOC (struct program_space); + pspace = XCNEW (struct program_space); pspace->num = ++last_program_space_num; pspace->aspace = aspace; |