+2007-10-15  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * cp-abi.c (set_cp_abi_as_auto_default): ARI fix:
+       Replace xasprintf by xstrprintf.
+       symfile-mem.c (add_vsyscall_page): Ditto.
+
 2007-10-12  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter,
 
   auto_cp_abi = *abi;
 
   auto_cp_abi.shortname = "auto";
-  xasprintf (&new_longname, "currently \"%s\"", abi->shortname);
+  new_longname = xstrprintf ("currently \"%s\"", abi->shortname);
   auto_cp_abi.longname = new_longname;
 
-  xasprintf (&new_doc, "Automatically selected; currently \"%s\"",
+  new_doc = xstrprintf ("Automatically selected; currently \"%s\"",
             abi->shortname);
   auto_cp_abi.doc = new_doc;
 
 
        }
       args.bfd = bfd;
       args.sysinfo_ehdr = sysinfo_ehdr;
-      xasprintf (&args.name, "system-supplied DSO at 0x%s",
+      args.name = xstrprintf ("system-supplied DSO at 0x%s",
                 paddr_nz (sysinfo_ehdr));
       /* Pass zero for FROM_TTY, because the action of loading the
         vsyscall DSO was not triggered by the user, even if the user