summaryrefslogtreecommitdiff
path: root/gdb/symfile-mem.c
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2007-10-15 15:22:23 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2007-10-15 15:22:23 +0000
commit88d0d2a473017e736c538816ae86d0b96e161d97 (patch)
tree09e208f2278a13a4f10c0de49f7a22770824fcab /gdb/symfile-mem.c
parentbe9748d0ae94235a9a840e21a118929c76400c64 (diff)
downloadgdb-88d0d2a473017e736c538816ae86d0b96e161d97.tar.gz
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 269a14d5513..65f5623eacf 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