aboutsummaryrefslogtreecommitdiff
path: root/gdb/dstread.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1999-09-09 00:02:17 +0000
committerStan Shebs <shebs@codesourcery.com>1999-09-09 00:02:17 +0000
commitd4f3574e777abfa65c9ba134e582228f3f32a8d6 (patch)
tree408b74c26833555087f04f4ec466afd488af6087 /gdb/dstread.c
parent325188ecac3a52d92d359c70f9b730470760e1d7 (diff)
downloadgdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.zip
gdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.tar.gz
gdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.tar.bz2
import gdb-1999-09-08 snapshot
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 8ed415b..0341727 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 */