diff options
Diffstat (limited to 'gdb/gcore.c')
-rw-r--r-- | gdb/gcore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gcore.c b/gdb/gcore.c index 486ea5f..f9a1389 100644 --- a/gdb/gcore.c +++ b/gdb/gcore.c @@ -55,6 +55,7 @@ create_gcore_bfd (char *filename) if (!obfd) error (_("Failed to open '%s' for output."), filename); + gdb_bfd_stash_filename (obfd); bfd_set_format (obfd, bfd_core); bfd_set_arch_mach (obfd, default_gcore_arch (), default_gcore_mach ()); return obfd; |