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.
This commit is contained in:
Pierre Muller
2007-10-15 15:22:23 +00:00
parent 501b79c1d2
commit 0dfdb8ba76
3 changed files with 9 additions and 3 deletions

View File

@ -196,7 +196,7 @@ try using the \"file\" command first."));
}
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