true, expandable);
blockvector_up blockvector = make_blockvector ();
- /* Read the line table if it has to be read separately.
- This is only used by xcoffread.c. */
- if (m_objfile->sf->sym_read_linetable != NULL)
- m_objfile->sf->sym_read_linetable (m_objfile);
-
/* Handle the case where the debug info specifies a different path
for the main source file. It can cause us to lose track of its
line number information. */
internal form */
default_symfile_segments, /* sym_segments: Get segment
information from a file */
- NULL, /* sym_read_linetable */
default_symfile_relocate, /* sym_relocate: Relocate a debug
section. */
elf_symfile_read, /* read a symbol file into symtab */
default_symfile_offsets, /* Translate ext. to int. relocation */
elf_symfile_segments, /* Get segment information from a file. */
- NULL,
default_symfile_relocate, /* Relocate a debug section. */
&elf_probe_fns, /* sym_probe_fns */
};
macho_symfile_read, /* read a symbol file into symtab */
macho_symfile_offsets, /* xlate external to internal form */
default_symfile_segments, /* Get segment information from a file. */
- NULL,
macho_symfile_relocate, /* Relocate a debug section. */
NULL, /* sym_get_probes */
};
gdb_assert_not_reached ("debug_sym_segments called");
}
-static void
-debug_sym_read_linetable (struct objfile *objfile)
-{
- const struct debug_sym_fns_data *debug_data
- = symfile_debug_objfile_data_key.get (objfile);
-
- gdb_printf (gdb_stdlog, "sf->sym_read_linetable (%s)\n",
- objfile_debug_name (objfile));
-
- debug_data->real_sf->sym_read_linetable (objfile);
-}
-
static bfd_byte *
debug_sym_relocate (struct objfile *objfile, asection *sectp, bfd_byte *buf)
{
COPY_SF_PTR (real_sf, debug_data, sym_read, debug_sym_read);
COPY_SF_PTR (real_sf, debug_data, sym_offsets, debug_sym_offsets);
COPY_SF_PTR (real_sf, debug_data, sym_segments, debug_sym_segments);
- COPY_SF_PTR (real_sf, debug_data, sym_read_linetable,
- debug_sym_read_linetable);
COPY_SF_PTR (real_sf, debug_data, sym_relocate, debug_sym_relocate);
if (real_sf->sym_probe_fns)
debug_data->debug_sf.sym_probe_fns = &debug_sym_probe_fns;
symfile_segment_data_up (*sym_segments) (bfd *abfd);
- /* This function should read the linetable from the objfile when
- the line table cannot be read while processing the debugging
- information. */
-
- void (*sym_read_linetable) (struct objfile *);
-
/* Relocate the contents of a debug section SECTP. The
contents are stored in BUF if it is non-NULL, or returned in a
malloc'd buffer otherwise. */
}
}
-static void
-aix_process_linenos (struct objfile *objfile)
-{
-}
-
-
/* Support for line number handling. */
/* This function is called for every section; it finds the outer limits
xcoff_initial_scan, /* read a symbol file into symtab */
xcoff_symfile_offsets, /* xlate offsets ext->int form */
default_symfile_segments, /* Get segment information from a file. */
- aix_process_linenos,
default_symfile_relocate, /* Relocate a debug section. */
NULL, /* sym_probe_fns */
};