Accept 16-bit addresses.
[deliverable/binutils-gdb.git] / gdb / dstread.c
index 1561586bf215fc1b67d9480223b5646306d4d59d..c10c1fe18cc15e9911643562042cdf6c120be099 100644 (file)
@@ -68,7 +68,7 @@ static void
 dst_new_init PARAMS ((struct objfile *));
 
 static void
-dst_symfile_read PARAMS ((struct objfile *, struct section_offsets *, int));
+dst_symfile_read PARAMS ((struct objfile *, int));
 
 static void
 dst_symfile_finish PARAMS ((struct objfile *));
@@ -263,9 +263,8 @@ static bfd *symfile_bfd;
 
 /* ARGSUSED */
 static void
-dst_symfile_read (objfile, section_offsets, mainline)
+dst_symfile_read (objfile, mainline)
      struct objfile *objfile;
-     struct section_offsets *section_offsets;
      int mainline;
 {
   bfd *abfd = objfile->obfd;
@@ -1639,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;
+     struct section_addr_info *addrs;
 {
   objfile->num_sections = 1;
-  return &dst_symfile_faker;
+  objfile->section_offsets = &dst_symfile_faker;
 }
 
 /* Register our ability to parse symbols for DST BFD files */
This page took 0.023139 seconds and 4 git commands to generate.