btrace: split record_btrace_step_thread
[deliverable/binutils-gdb.git] / gdb / avr-tdep.c
index d2b5f5f38b2ff092e0f2f442720b8763f9bb27ed..aaa2921e0152f84df6d730637083f50467484d1f 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for Atmel AVR, for GDB.
 
-   Copyright (C) 1996-2014 Free Software Foundation, Inc.
+   Copyright (C) 1996-2015 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -1205,7 +1205,7 @@ static struct stack_item *
 push_stack_item (struct stack_item *prev, const bfd_byte *contents, int len)
 {
   struct stack_item *si;
-  si = xmalloc (sizeof (struct stack_item));
+  si = XNEW (struct stack_item);
   si->data = xmalloc (len);
   si->len = len;
   si->prev = prev;
This page took 0.023371 seconds and 4 git commands to generate.