aboutsummaryrefslogtreecommitdiff
path: root/gdb/minidebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/minidebug.c')
-rw-r--r--gdb/minidebug.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/minidebug.c b/gdb/minidebug.c
index 693c715..e21353d 100644
--- a/gdb/minidebug.c
+++ b/gdb/minidebug.c
@@ -269,7 +269,10 @@ find_separate_debug_file_in_section (struct objfile *objfile)
return NULL;
#ifdef HAVE_LIBLZMA
- abfd = gdb_bfd_openr_iovec (objfile_name (objfile), gnutarget, lzma_open,
+ std::string filename = string_printf (_(".gnu_debugdata for %s"),
+ objfile_name (objfile));
+
+ abfd = gdb_bfd_openr_iovec (filename.c_str (), gnutarget, lzma_open,
section, lzma_pread, lzma_close, lzma_stat);
if (abfd == NULL)
return NULL;