summaryrefslogtreecommitdiff
path: root/gdb/dstread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dstread.c')
-rw-r--r--gdb/dstread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dstread.c b/gdb/dstread.c
index 8ed415bc6c5..034172748d6 100644
--- a/gdb/dstread.c
+++ b/gdb/dstread.c
@@ -1638,13 +1638,13 @@ init_dst_sections (chan)
struct section_offsets dst_symfile_faker =
{0};
-struct section_offsets *
+void
dst_symfile_offsets (objfile, addr)
struct objfile *objfile;
CORE_ADDR addr;
{
objfile->num_sections = 1;
- return &dst_symfile_faker;
+ objfile->section_offsets = &dst_symfile_faker;
}
/* Register our ability to parse symbols for DST BFD files */