aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xcoffexec.c')
-rw-r--r--gdb/xcoffexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xcoffexec.c b/gdb/xcoffexec.c
index 31d5825..453e503 100644
--- a/gdb/xcoffexec.c
+++ b/gdb/xcoffexec.c
@@ -330,7 +330,7 @@ map_vmap (bfd *bf, bfd *arch)
obj = lookup_objfile_bfd (bf);
if (exec_bfd && !obj) {
- obj = allocate_objfile (bf, bfd_get_filename (bf), 0);
+ obj = allocate_objfile (bf, 0);
syms_from_objfile (obj, 0, 0, 0);
}