aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile-mem.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2007-10-15 15:22:23 +0000
committerPierre Muller <muller@sourceware.org>2007-10-15 15:22:23 +0000
commit0dfdb8ba76b1b0dd140c9bd536fed5e8083a55e9 (patch)
treef71976cb14aca926d3b1866d20fd6d3c09c8ed12 /gdb/symfile-mem.c
parent501b79c1d2f5903ad10f2904cc64cf724b55c29d (diff)
downloadgdb-0dfdb8ba76b1b0dd140c9bd536fed5e8083a55e9.zip
gdb-0dfdb8ba76b1b0dd140c9bd536fed5e8083a55e9.tar.gz
gdb-0dfdb8ba76b1b0dd140c9bd536fed5e8083a55e9.tar.bz2
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.
Diffstat (limited to 'gdb/symfile-mem.c')
-rw-r--r--gdb/symfile-mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile-mem.c b/gdb/symfile-mem.c
index 269a14d..65f5623 100644
--- a/gdb/symfile-mem.c
+++ b/gdb/symfile-mem.c
@@ -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