testsuite: Support detection of Intel compilers via test_compiler_version.
[deliverable/binutils-gdb.git] / gdb / reverse.c
index ed55a3a4ddab585b0d4a64cad0da68c77e7f919b..a1b697f4d21ea9dca68d55d3cb83e1a2e1e25ff2 100644 (file)
@@ -1,6 +1,6 @@
 /* Reverse execution and reverse debugging.
 
-   Copyright (C) 2006-2015 Free Software Foundation, Inc.
+   Copyright (C) 2006-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -142,7 +142,7 @@ save_bookmark_command (char *args, int from_tty)
     error (_("target_get_bookmark failed."));
 
   /* Set up a bookmark struct.  */
-  b = xcalloc (1, sizeof (struct bookmark));
+  b = XCNEW (struct bookmark);
   b->number = ++bookmark_count;
   init_sal (&b->sal);
   b->pc = regcache_read_pc (get_current_regcache ());
This page took 0.024899 seconds and 4 git commands to generate.